From adb1adb2094a7facdf235255af477c6b4f7eed39 Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Sun, 20 Jul 2025 20:42:37 +0800 Subject: [PATCH] Do not execute when dialog jump is disabled --- Flow.Launcher.Infrastructure/DialogJump/DialogJump.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Flow.Launcher.Infrastructure/DialogJump/DialogJump.cs b/Flow.Launcher.Infrastructure/DialogJump/DialogJump.cs index 0c211eb90..f39a9dd74 100644 --- a/Flow.Launcher.Infrastructure/DialogJump/DialogJump.cs +++ b/Flow.Launcher.Infrastructure/DialogJump/DialogJump.cs @@ -453,13 +453,15 @@ namespace Flow.Launcher.Infrastructure.DialogJump #endregion - #region Hotkey + #region Hotkey Command private static RelayCommand _dialogJumpCommand; public static IRelayCommand DialogJumpCommand => _dialogJumpCommand ??= new RelayCommand(OnToggleHotkey); private static void OnToggleHotkey() { + if (!_settings.EnableDialogJump) return; + _ = Task.Run(async () => { try