From 52a0af7b640a2ca86ac711e371a758dcc58fd3da Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Fri, 23 Jan 2026 16:16:58 +0100 Subject: [PATCH] Ignore NONE case --- app/MindWork AI Studio/Tools/Services/GlobalShortcutService.cs | 3 +++ 1 file changed, 3 insertions(+) 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);