diff --git a/src/ui/preferences-window/tabs/GeneralTab.swift b/src/ui/preferences-window/tabs/GeneralTab.swift index 879b344fb..48701c8f0 100644 --- a/src/ui/preferences-window/tabs/GeneralTab.swift +++ b/src/ui/preferences-window/tabs/GeneralTab.swift @@ -88,13 +88,7 @@ class GeneralTab: NSViewController, PreferencePane { App.app.appIsBeingUsed = false App.app.isFirstSummon = true } - let fn = shortcutsActionsBlocks[controlId]! - let isShortcutAffectingTheUi = ["previousWindowShortcut", "nextWindowShortcut", "←", "→", "↑", "↓", "holdShortcut"].contains(controlId) - if isShortcutAffectingTheUi || isShortcutClosingTheUi { - DispatchQueue.main.async { () -> () in fn() } - } else { - fn() - } + DispatchQueue.main.async { () -> () in shortcutsActionsBlocks[controlId]!() } } return true })