Changeset 845


Ignore:
Timestamp:
Sep 5, 2006, 2:21:17 AM (15 years ago)
Author:
livings124
Message:

booleans are easier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/BarButton.m

    r844 r845  
    264264- (void) setForInactive: (NSNotification *) notification
    265265{
    266     [self setImage: [self image] == fButtonSelected ? fButtonSelectedDim : fButtonNormalDim];
     266    [self setImage: fEnabled ? fButtonSelectedDim : fButtonNormalDim];
    267267   
    268268    if (fTrackingTag)
Note: See TracChangeset for help on using the changeset viewer.