diff --git a/Flow.Launcher/CustomQueryHotkeySetting.xaml b/Flow.Launcher/CustomQueryHotkeySetting.xaml index 3ddd41bd6..0171e6d79 100644 --- a/Flow.Launcher/CustomQueryHotkeySetting.xaml +++ b/Flow.Launcher/CustomQueryHotkeySetting.xaml @@ -104,7 +104,7 @@ VerticalAlignment="Center" HorizontalContentAlignment="Left" DefaultHotkey="" - Type="None" /> + Type="CustomQueryHotkey" /> hotkey, + // Custom query hotkeys + HotkeyType.CustomQueryHotkey => hotkey, // Settings hotkeys HotkeyType.Hotkey => _settings.Hotkey, HotkeyType.PreviewHotkey => _settings.PreviewHotkey, @@ -149,8 +149,10 @@ namespace Flow.Launcher { switch (Type) { - // Custom hotkeys - case HotkeyType.None: + // Custom query hotkeys + case HotkeyType.CustomQueryHotkey: + // We just need to store it in a local field + // because we will save to settings in other place hotkey = value; break; // Settings hotkeys