booleans are easier...again

This commit is contained in:
Mitchell Livingston 2006-09-05 02:23:54 +00:00
parent 8e11ba7f74
commit 4fdc2f4c91
1 changed files with 1 additions and 6 deletions

View File

@ -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];
}