Changeset 412


Ignore:
Timestamp:
Jun 20, 2006, 2:16:32 PM (16 years ago)
Author:
livings124
Message:

Clicking the dock icon is more future-proof and simpler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r411 r412  
    237237
    238238- (BOOL) applicationShouldHandleReopen: (NSApplication *) app
    239     hasVisibleWindows: (BOOL) flag
    240 {
    241     if (![fWindow isVisible] && ![[fPrefsController window] isVisible])
    242         [self showMainWindow: nil];
     239    hasVisibleWindows: (BOOL) visibleWindows
     240{
     241    if (!visibleWindows)
     242        [fWindow makeKeyAndOrderFront: nil];
    243243    return NO;
    244244}
Note: See TracChangeset for help on using the changeset viewer.