mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-23 00:49:32 +00:00
Reworked use of DDHotKey to prevent unwanted deregistration.
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
}
|
||||
|
||||
- (void)willShowTab {
|
||||
_hotKey = [[DDHotKey alloc] initWithKeyData:[[NSUserDefaults standardUserDefaults] dataForKey:kMPSettingsKeyGlobalAutotypeKeyDataKey]];
|
||||
_hotKey = [DDHotKey hotKeyWithKeyData:[[NSUserDefaults standardUserDefaults] dataForKey:kMPSettingsKeyGlobalAutotypeKeyDataKey]];
|
||||
/* Change any invalid hotkeys to valid ones? */
|
||||
self.hotKeyTextField.hotKey = self.hotKey;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user