Bug Fix: Fix circular bind setter loop in hotkeys
MASShortcut had a potential circular loop in its bindings, let's fix that right up. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
9c1c6d7130
commit
318cfd71ea
3 changed files with 14 additions and 26 deletions
|
@ -186,13 +186,11 @@ static BOOL consentLastEnabled = NO;
|
||||||
[randomizeButton setToolTip:NSLocalizedString(@"RandomizeButtonTooltip", @"")];
|
[randomizeButton setToolTip:NSLocalizedString(@"RandomizeButtonTooltip", @"")];
|
||||||
[fileButton setToolTip:NSLocalizedString(@"FileButtonTooltip", @"")];
|
[fileButton setToolTip:NSLocalizedString(@"FileButtonTooltip", @"")];
|
||||||
|
|
||||||
if(@available(macOS 15, *)) {
|
[self registerDefaultHotKeys];
|
||||||
[self registerDefaultHotKeys];
|
|
||||||
|
[self migrateHotKeys];
|
||||||
[self migrateHotKeys];
|
|
||||||
|
[self registerHotKeys];
|
||||||
[self registerHotKeys];
|
|
||||||
}
|
|
||||||
|
|
||||||
(void)[spotlightWindowController init];
|
(void)[spotlightWindowController init];
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit c4a91c10e47310dba71782c46577e31117d0b6ef
|
Subproject commit e5e82dcef993dfbae9ac26917b2bb8d4bd000932
|
|
@ -41,24 +41,14 @@
|
||||||
[[NSBundle bundleWithIdentifier:@"org.cogx.cog.preferences"] loadNibNamed:@"Preferences"
|
[[NSBundle bundleWithIdentifier:@"org.cogx.cog.preferences"] loadNibNamed:@"Preferences"
|
||||||
owner:plugin
|
owner:plugin
|
||||||
topLevelObjects:nil];
|
topLevelObjects:nil];
|
||||||
if(@available(macos 15, *)) {
|
return @[[plugin playlistPane],
|
||||||
return @[[plugin playlistPane],
|
[plugin hotKeyPane],
|
||||||
[plugin hotKeyPane],
|
[plugin outputPane],
|
||||||
[plugin outputPane],
|
[plugin generalPane],
|
||||||
[plugin generalPane],
|
[plugin notificationsPane],
|
||||||
[plugin notificationsPane],
|
[plugin appearancePane],
|
||||||
[plugin appearancePane],
|
[plugin midiPane],
|
||||||
[plugin midiPane],
|
[plugin rubberbandPane]];
|
||||||
[plugin rubberbandPane]];
|
|
||||||
} else {
|
|
||||||
return @[[plugin playlistPane],
|
|
||||||
[plugin outputPane],
|
|
||||||
[plugin generalPane],
|
|
||||||
[plugin notificationsPane],
|
|
||||||
[plugin appearancePane],
|
|
||||||
[plugin midiPane],
|
|
||||||
[plugin rubberbandPane]];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (HotKeyPane *)hotKeyPane {
|
- (HotKeyPane *)hotKeyPane {
|
||||||
|
|
Loading…
Reference in a new issue