Further refinement of previous fix.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@20633 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2005-01-30 03:32:12 +00:00
parent 5c8d967dff
commit 6682de3e48
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2005-01-29 22:36 Gregory John Casamento <greg_casamento@yahoo.com>
* GormDocument.m: in -handleNotification: added code to
reset the selection to nil to clear the inspector when the
window is miniaturized.
2005-01-29 18:55 Gregory John Casamento <greg_casamento@yahoo.com>
* GormClassInspector.m: In -addAction:, -addOutlet:, -removeAction:,

View file

@ -1411,6 +1411,7 @@ static NSImage *fileImage = nil;
}
else if ([name isEqual: NSWindowWillMiniaturizeNotification] == YES)
{
[self setSelectionFromEditor: nil];
[self setDocumentActive: NO];
}
else if ([name isEqual: NSWindowDidDeminiaturizeNotification] == YES)