Minor cleanup

This commit is contained in:
michael starke
2014-10-27 21:42:05 +01:00
parent 3e3a2bf644
commit a14b535d22
2 changed files with 1 additions and 15 deletions

View File

@@ -49,7 +49,7 @@
[self.enableGlobalAutotypeCheckbutton bind:NSValueBinding toObject:defaultsController withKeyPath:enableGlobalAutotypeKeyPath options:nil];
[self.enableQuicklookCheckbutton bind:NSValueBinding toObject:defaultsController withKeyPath:quicklookKeyPath options:nil];
[self.hotKeyTextField bind:NSEnabledBinding toObject:defaultsController withKeyPath:enableGlobalAutotypeKeyPath options:nil];
[self.hotKeyTextField bind:NSStringFromSelector(@selector(hotKey)) toObject:self withKeyPath:NSStringFromSelector(@selector(hotKey)) options:nil];
self.hotKeyTextField.hotKey = self.hotKey;
}
- (void)setHotKey:(DDHotKey *)hotKey {
@@ -65,5 +65,4 @@
_hotKey = hotKey;
}
@end