From bcb17a01c115f7c72c9ebe33d3c827242d7e375f Mon Sep 17 00:00:00 2001 From: Jeremy Date: Wed, 14 Jul 2021 21:04:48 +1000 Subject: [PATCH] add focus for custom query hotkey preview --- Flow.Launcher/CustomQueryHotkeySetting.xaml.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Flow.Launcher/CustomQueryHotkeySetting.xaml.cs b/Flow.Launcher/CustomQueryHotkeySetting.xaml.cs index 190412f43..b18bbcfad 100644 --- a/Flow.Launcher/CustomQueryHotkeySetting.xaml.cs +++ b/Flow.Launcher/CustomQueryHotkeySetting.xaml.cs @@ -91,6 +91,8 @@ namespace Flow.Launcher { App.API.ChangeQuery(tbAction.Text); Application.Current.MainWindow.Visibility = Visibility.Visible; + Application.Current.MainWindow.Focus(); + } private void cmdEsc_OnPress(object sender, ExecutedRoutedEventArgs e)