Ignore:
Timestamp:
Aug 15, 2006, 12:02:23 AM (16 years ago)
Author:
livings124
Message:

Don't change pref view to the current pref view.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/PrefsController.m

    r757 r779  
    811811    NSWindow * window = [self window];
    812812   
     813    if ([window contentView] == view)
     814        return;
     815   
    813816    NSRect windowRect = [window frame];
    814817    int difference = [view frame].size.height - [[window contentView] frame].size.height;
     
    818821    [window setTitle: [fToolbar selectedItemIdentifier]];
    819822   
     823    [view setHidden: YES];
    820824    [window setContentView: view];
    821     [view setHidden: YES];
    822825    [window setFrame: windowRect display: YES animate: YES];
    823826    [view setHidden: NO];
Note: See TracChangeset for help on using the changeset viewer.