mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 11:42:30 +00:00
Really fixed crash on entries with custom attributes
This commit is contained in:
@@ -63,12 +63,12 @@ NSInteger MPCustomFieldIndexFromTag(NSInteger tag) {
|
|||||||
options:nil];
|
options:nil];
|
||||||
[view.protectedButton bind:NSValueBinding
|
[view.protectedButton bind:NSValueBinding
|
||||||
toObject:view
|
toObject:view
|
||||||
withKeyPath:@"objectValue.protected"
|
withKeyPath:@"objectValue.protect"
|
||||||
options:nil];
|
options:nil];
|
||||||
|
|
||||||
[view.valueTextField bind:NSStringFromSelector(@selector(showPassword))
|
[view.valueTextField bind:NSStringFromSelector(@selector(showPassword))
|
||||||
toObject:view
|
toObject:view
|
||||||
withKeyPath:@"objectValue.protected"
|
withKeyPath:@"objectValue.protect"
|
||||||
options:@{NSValueTransformerNameBindingOption: NSNegateBooleanTransformerName}];
|
options:@{NSValueTransformerNameBindingOption: NSNegateBooleanTransformerName}];
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user