Merge pull request #2824 from daboe01/cpdocumentcontroller-return-type-fix

fixed: return type of openUntitledDocumentOfType:display:
This commit is contained in:
Alexandre Wilhelm authored and GitHub committed 2019-04-14 20:01:36 -07:00
commit aba3e30d9c
1 file changed
+1 -1
+1 -1
View File
@@ -106,7 +106,7 @@ var CPSharedDocumentController = nil;
@param aType the type of the new document
@param shouldDisplay whether to display the document on screen
*/
- (void)openUntitledDocumentOfType:(CPString)aType display:(BOOL)shouldDisplay
- (CPDocument)openUntitledDocumentOfType:(CPString)aType display:(BOOL)shouldDisplay
{
var theDocument = [self makeUntitledDocumentOfType:aType error:nil];