diff --git a/CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/KeyboardShortcuts.cs b/CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/KeyboardShortcuts.cs index 755b34b2c..8518ca1c8 100644 --- a/CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/KeyboardShortcuts.cs +++ b/CollapseLauncher/XAMLs/MainApp/Pages/Dialogs/KeyboardShortcuts.cs @@ -524,7 +524,7 @@ public static void ResetKeyboardShortcuts() private static bool ValidKeyCombination(KbShortcut shortcut) { - return KbShortcutList.Any(x => x.Value.Key == shortcut.Key && x.Value.Modifier == shortcut.Modifier) + return !KbShortcutList.Any(x => x.Value.Key == shortcut.Key && x.Value.Modifier == shortcut.Modifier) && !ForbiddenShortcutList.Any(x => x.Key == shortcut.Key && x.Modifier == shortcut.Modifier); } #endregion