Correction for crash when connected to NSOwner.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21407 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2005-07-05 01:17:58 +00:00
parent 450e7b6f4e
commit f9f27fa0ae
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2005-07-04 21:18 Gregory John Casamento <greg_casamento@yahoo.com>
* Gorm.m: In -testInterface corrected a problem with testing
interface when menu item is connected to NSOwner.
2005-07-04 20:44 Gregory John Casamento <greg_casamento@yahoo.com>
* English.lproj/Gorm.gorm: Cleaned up some duplicate connections

4
Gorm.m
View file

@ -565,8 +565,8 @@
NSDictionary *substituteClasses = [palettesManager substituteClasses];
NSString *subClassName;
id obj;
NSDictionary *context = [NSDictionary dictionaryWithObject: topObjects
forKey: @"NSTopLevelObjects"];
NSDictionary *context = [NSDictionary dictionaryWithObjectsAndKeys: topObjects,
@"NSTopLevelObjects", self, @"NSOwner", nil];
// which windows were open when testing started...
testingWindows = [[NSMutableArray alloc] init];