Skip to content

Commit bcb17a0

Browse files
committed
add focus for custom query hotkey preview
1 parent 20f849d commit bcb17a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Flow.Launcher/CustomQueryHotkeySetting.xaml.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ private void BtnTestActionKeyword_OnClick(object sender, RoutedEventArgs e)
9191
{
9292
App.API.ChangeQuery(tbAction.Text);
9393
Application.Current.MainWindow.Visibility = Visibility.Visible;
94+
Application.Current.MainWindow.Focus();
95+
9496
}
9597

9698
private void cmdEsc_OnPress(object sender, ExecutedRoutedEventArgs e)

0 commit comments

Comments
 (0)