diff --git a/ChangeLog b/ChangeLog index 4e6ea74c..4e64f51c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-01-29 22:36 Gregory John Casamento + + * 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 * GormClassInspector.m: In -addAction:, -addOutlet:, -removeAction:, diff --git a/GormDocument.m b/GormDocument.m index 4ac2e40c..e979dd5f 100644 --- a/GormDocument.m +++ b/GormDocument.m @@ -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)