]> Dogcows Code - chaz/thecheat/blobdiff - CheatDocument.m
The Cheat 1.2.4
[chaz/thecheat] / CheatDocument.m
index b058d74b917cd46915872c79429df76100b0a577..5589fc8f2ebcf5ff6e9b22433150487ed15d57bf 100644 (file)
@@ -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;
This page took 0.024511 seconds and 4 git commands to generate.