diff --git a/app/MindWork AI Studio/Tools/Services/GlobalShortcutService.cs b/app/MindWork AI Studio/Tools/Services/GlobalShortcutService.cs index e0865fbe..4515b78b 100644 --- a/app/MindWork AI Studio/Tools/Services/GlobalShortcutService.cs +++ b/app/MindWork AI Studio/Tools/Services/GlobalShortcutService.cs @@ -67,6 +67,9 @@ public sealed class GlobalShortcutService : BackgroundService, IMessageBusReceiv this.logger.LogInformation("Registering global shortcuts."); foreach (var shortcutId in Enum.GetValues()) { + if(shortcutId is Shortcut.NONE) + continue; + var shortcut = this.GetShortcutValue(shortcutId); var isEnabled = this.IsShortcutAllowed(shortcutId);