Changeset 1649


Ignore:
Timestamp:
Apr 3, 2007, 3:24:12 PM (15 years ago)
Author:
livings124
Message:

help avoid a crash when going from 0.7 to 0.61 (just in case)

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Defaults.plist

    r1599 r1649  
    4545        <key>IncompleteDownloadFolder</key>
    4646        <string>~/Desktop</string>
    47         <key>InfoTab</key>
     47        <key>InspectorSelected</key>
    4848        <string>Info</string>
    4949        <key>InfoVisible</key>
  • trunk/macosx/InfoWindowController.m

    r1645 r1649  
    9292   
    9393    //select tab
    94     NSString * identifier = [[NSUserDefaults standardUserDefaults] stringForKey: @"InfoTab"];
     94    NSString * identifier = [[NSUserDefaults standardUserDefaults] stringForKey: @"InspectorSelected"];
    9595    if ([fTabView indexOfTabViewItemWithIdentifier: identifier] == NSNotFound)
    9696        identifier = TAB_INFO_IDENT;
     
    593593{
    594594    NSRect windowRect = [window frame];
    595     windowRect.size.width = [window minSize].width;   
     595    windowRect.size.width = [window minSize].width;
    596596    return windowRect;
    597597}
     
    601601    NSString * identifier = [tabViewItem identifier];
    602602    [self setWindowForTab: identifier animate: YES];
    603     [[NSUserDefaults standardUserDefaults] setObject: identifier forKey: @"InfoTab"];
     603    [[NSUserDefaults standardUserDefaults] setObject: identifier forKey: @"InspectorSelected"];
    604604}
    605605
Note: See TracChangeset for help on using the changeset viewer.