Changeset 743


Ignore:
Timestamp:
Aug 8, 2006, 11:37:54 AM (15 years ago)
Author:
livings124
Message:

Code for saving when closing prefs window is no longer a delegate method.

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/PrefsController.m

    r740 r743  
    7878        fHandle = handle;
    7979       
    80         NSWindow * window = [self window];
    81         [window setDelegate: window];
    82         [window update]; //make sure nib is loaded right away
     80        [[self window] update]; //make sure nib is loaded right away
    8381    }
    8482    return self;
  • trunk/macosx/PrefsWindow.m

    r740 r743  
    3434}
    3535
    36 - (void) windowWillClose: (NSNotification *) notification
     36- (void) close
    3737{
    3838    [self makeFirstResponder: nil]; //essentially saves changes on window close
     39    [super close];
    3940}
    4041
Note: See TracChangeset for help on using the changeset viewer.