X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=CheatURLCommand.m;h=9d00f257757c2ea40e9b02368bf619462a4c308d;hb=cd317fe26f0deee1697ea5454fcb74135e507e61;hp=576231d8c78370176171194361ab30d4bac98ccf;hpb=1654f21c723dadf0d88b0e92f882a6c9a69bf08e;p=chaz%2Fthecheat diff --git a/CheatURLCommand.m b/CheatURLCommand.m index 576231d..9d00f25 100644 --- a/CheatURLCommand.m +++ b/CheatURLCommand.m @@ -18,7 +18,7 @@ - (id)performDefaultImplementation { NSDocumentController *controller = [NSDocumentController sharedDocumentController]; - CheatDocument *doc = [controller makeUntitledDocumentOfType:@"Cheat Document"]; + CheatDocument *doc = [controller makeUntitledDocumentOfType:@"Cheat Document" error:nil]; if ( !doc ) { ChazLog( @"nil document" ); }