mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-18 11:09:24 +00:00
Using modified DDHotKeyTextField to be notified about changes
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
[self.enableQuicklookCheckbutton bind:NSValueBinding toObject:defaultsController withKeyPath:quicklookKeyPath options:nil];
|
||||
[self.hotKeyTextField bind:NSEnabledBinding toObject:defaultsController withKeyPath:enableGlobalAutotypeKeyPath options:nil];
|
||||
self.hotKeyTextField.hotKey = self.hotKey;
|
||||
self.hotKeyTextField.delegate = self;
|
||||
}
|
||||
|
||||
- (void)setHotKey:(DDHotKey *)hotKey {
|
||||
@@ -65,4 +66,8 @@
|
||||
_hotKey = hotKey;
|
||||
}
|
||||
|
||||
- (void)controlTextDidChange:(NSNotification *)obj {
|
||||
NSLog(@"controlTextDidChange:");
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user