diff --git a/ChangeLog b/ChangeLog index 37f73be6..113bf152 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-05-01 09:44 Gregory John Casamento + + * Gorm.m: Added implementation for unhide: to bring forward the + document window as well as any other windows. This corrects + Report #3269. + 2004-05-01 09:03 Gregory John Casamento * GormNSMenu.m: [GormNSMenu _createWindow] added call to diff --git a/Gorm.m b/Gorm.m index 9248f7e2..b368ea8e 100644 --- a/Gorm.m +++ b/Gorm.m @@ -589,9 +589,9 @@ NSString *GormResizeCellNotification = @"GormResizeCellNotification"; } else { - NSDictionary *nameTable = [doc nameTable]; - NSEnumerator *enumerator = [nameTable keyEnumerator]; - NSString *key = nil; + // NSDictionary *nameTable = [doc nameTable]; + // NSEnumerator *enumerator = [nameTable keyEnumerator]; + // NSString *key = nil; // order everything front. [[doc window] makeKeyAndOrderFront: self]; @@ -1488,6 +1488,15 @@ NSString *GormResizeCellNotification = @"GormResizeCellNotification"; { return classMenu; } + +- (void) unhide: (id)sender +{ + id document = [self activeDocument]; + id window = [document window]; + + [super unhide: sender]; + [window orderFront: sender]; +} @end // custom class additions...