mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-22 15:19:27 +00:00
added option to lock on user logout
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
toObject:view
|
||||
withKeyPath:[NSString stringWithFormat:@"%@.%@", NSStringFromSelector(@selector(objectValue)), NSStringFromSelector(@selector(value))]
|
||||
options:nil];
|
||||
|
||||
// TODO: Move to public KeePassKit API!
|
||||
for(NSControl *control in @[view.labelTextField, view.valueTextField, view.removeButton ]) {
|
||||
[control bind:NSEnabledBinding
|
||||
@@ -53,9 +54,8 @@
|
||||
|
||||
view.observer = tableView.window.windowController.document;
|
||||
|
||||
//[view.removeButton bind:NSVisibleBinding toObject:view.valueTextField withKeyPath:@"" options:nil];
|
||||
|
||||
return view;
|
||||
}
|
||||
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user