mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-20 07:15:01 +00:00
Fix for fixing state after turning setAllowsMixedState to NO.
Reviewed by me.
This commit is contained in:
1 parent
2d01fa6f94
commit
4d7f5a8a09
1 file changed
+2
-2
+2
-2
@@ -192,8 +192,8 @@ CPButtonStateMixed = CPThemeState("mixed");
|
||||
|
||||
_allowsMixedState = aFlag;
|
||||
|
||||
if (!_allowsMixedState)
|
||||
[self unsetThemeState:CPButtonStateMixed];
|
||||
if (!_allowsMixedState && [self state] === CPMixedState)
|
||||
[self setState:CPOnState];
|
||||
}
|
||||
|
||||
- (void)setObjectValue:(id)anObjectValue
|
||||
|
||||
Reference in new issue
Block a user