fixed: return type of openUntitledDocumentOfType:display:

This commit is contained in:
daboe01
2019-04-08 14:32:06 +02:00
parent 6b20a4f8f7
commit fc8f1dca4e
+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];