Changeset 1041 for trunk/macosx


Ignore:
Timestamp:
Oct 30, 2006, 11:38:25 PM (15 years ago)
Author:
livings124
Message:

actually toggle speed limit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r1038 r1041  
    216216    if ((fSpeedLimitEnabled = [fDefaults boolForKey: @"SpeedLimit"]))
    217217    {
     218        #warning get rid of
    218219        [fSpeedLimitItem setState: NSOnState];
    219220        [fSpeedLimitDockItem setState: NSOnState];
     
    13031304    fSpeedLimitEnabled = !fSpeedLimitEnabled;
    13041305    int state = fSpeedLimitEnabled ? NSOnState : NSOffState;
    1305 
     1306   
     1307    [fDefaults setBool: fSpeedLimitEnabled forKey: @"SpeedLimit"]
     1308
     1309    #warning get rid of
    13061310    [fSpeedLimitItem setState: state];
    13071311    [fSpeedLimitDockItem setState: state];
Note: See TracChangeset for help on using the changeset viewer.