mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-15 16:12:16 +00:00
Moving away from custom "didLoadView" initialisations.
Added DDHotKeyTextField to settings to be able to customise global auto type hotkey. (still disabled for now)
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)didLoadView {
|
||||
- (void)awakeFromNib {
|
||||
NSUserDefaultsController *defaultsController = [NSUserDefaultsController sharedUserDefaultsController];
|
||||
NSString *serverKeyPath = [MPSettingsHelper defaultControllerPathForKey:kMPSettingsKeyEnableHttpServer];
|
||||
NSString *globalAutotypeKeyPath = [MPSettingsHelper defaultControllerPathForKey:kMPSettingsKeyEnableGlobalAutotype];
|
||||
@@ -41,8 +41,8 @@
|
||||
[self.enableServerCheckbutton bind:NSValueBinding toObject:defaultsController withKeyPath:serverKeyPath options:nil];
|
||||
[self.enableServerCheckbutton setEnabled:NO];
|
||||
[self.enableGlobalAutotypeCheckbutton bind:NSValueBinding toObject:defaultsController withKeyPath:globalAutotypeKeyPath options:nil];
|
||||
//[self.enableGlobalAutotypeCheckbutton setEnabled:NO];
|
||||
[self.enableQuicklookCheckbutton bind:NSValueBinding toObject:defaultsController withKeyPath:quicklookKeyPath options:nil];
|
||||
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user