booleans are easier...again
This commit is contained in:
parent
8e11ba7f74
commit
4fdc2f4c91
|
@ -252,12 +252,7 @@
|
|||
|
||||
- (void) setForActive: (NSNotification *) notification
|
||||
{
|
||||
if ([self image] == fButtonSelectedDim)
|
||||
[self setImage: fButtonSelected];
|
||||
else if ([self image] == fButtonNormalDim)
|
||||
[self setImage: fButtonNormal];
|
||||
else;
|
||||
|
||||
[self setImage: fEnabled ? fButtonSelected : fButtonNormal];
|
||||
[self resetBounds: nil];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue