X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fthecheat;a=blobdiff_plain;f=CheatDocument.m;h=5589fc8f2ebcf5ff6e9b22433150487ed15d57bf;hp=b058d74b917cd46915872c79429df76100b0a577;hb=179538478d0db2e5f8f2b50ccb3ff889b474aa01;hpb=d27548f80fe411fda2ee69c74a24eab4292267e9 diff --git a/CheatDocument.m b/CheatDocument.m index b058d74..5589fc8 100644 --- a/CheatDocument.m +++ b/CheatDocument.m @@ -78,6 +78,7 @@ Process static *_tc_target = nil; _cheatData = [[CheatData alloc] init]; _searchData = [[SearchData alloc] init]; + [_searchData setProcess:_process]; // show search mode when documents are first created _connectsOnOpen = YES; @@ -191,7 +192,7 @@ Process static *_tc_target = nil; // ############################################################################# - (NSData *)dataRepresentationOfType:(NSString *)type -{ +{ return [NSArchiver archivedDataWithRootObject:_cheatData]; } @@ -1154,8 +1155,8 @@ Process static *_tc_target = nil; // clear the search [_searchData clearResults]; - [ibSearchVariableTable reloadData]; + //[ibSearchVariableTable reloadData]; // this can cause a crash, so commenting it out for now. // clear the selected process [_process release]; _process = nil;