mirror of https://github.com/ksherlock/ample.git
stringValue can't be nil.
This commit is contained in:
parent
94aac38af4
commit
0b248e6aad
|
@ -96,7 +96,7 @@ Todo --
|
|||
}
|
||||
|
||||
-(void)setStringValue:(NSString *)stringValue {
|
||||
[super setStringValue: stringValue];
|
||||
[super setStringValue: stringValue ? stringValue : @""];
|
||||
if (_value && [[_value menuTitle] isEqualToString: stringValue] == NO)
|
||||
_value = nil;
|
||||
|
||||
|
|
Loading…
Reference in New Issue