Backport of [442]

This commit is contained in:
Eric Petit 2006-06-25 19:35:19 +00:00
parent c32baaa10c
commit b765989b42
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ static void sleepCallBack(void * controller, io_service_t y,
- (BOOL) applicationShouldHandleReopen: (NSApplication *) app hasVisibleWindows: (BOOL) visibleWindows
{
if (!visibleWindows)
if (![fWindow isVisible] && ![[fPrefsController window] isVisible])
[fWindow makeKeyAndOrderFront: nil];
return NO;
}