Fixed configuring spam hotkey.

CQTexperiment
Chris Moeller 2016-05-05 14:03:24 -07:00
parent 0e3644177e
commit 23bf993ad1
1 changed files with 2 additions and 2 deletions

View File

@ -54,8 +54,8 @@ static void setControlText(HotKeyControl* control, NSString* kcprop, NSString* m
[[NSUserDefaults standardUserDefaults] setInteger:[nextHotKeyControl keyCode] forKey:@"hotKeyNextKeyCode"]; [[NSUserDefaults standardUserDefaults] setInteger:[nextHotKeyControl keyCode] forKey:@"hotKeyNextKeyCode"];
} }
else if (sender == spamHotKeyControl) { else if (sender == spamHotKeyControl) {
[[NSUserDefaults standardUserDefaults] setInteger:[nextHotKeyControl modifierFlags] forKey:@"hotKeySpamModifiers"]; [[NSUserDefaults standardUserDefaults] setInteger:[spamHotKeyControl modifierFlags] forKey:@"hotKeySpamModifiers"];
[[NSUserDefaults standardUserDefaults] setInteger:[nextHotKeyControl keyCode] forKey:@"hotKeySpamKeyCode"]; [[NSUserDefaults standardUserDefaults] setInteger:[spamHotKeyControl keyCode] forKey:@"hotKeySpamKeyCode"];
} }
} }