Skip to content

Commit ec96028

Browse files
committed
change query after showing window to make it not selectable
1 parent 6565b55 commit ec96028

File tree

1 file changed

+1
-2
lines changed
  • Plugins/Flow.Launcher.Plugin.Shell

1 file changed

+1
-2
lines changed

Plugins/Flow.Launcher.Plugin.Shell/Main.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,10 +337,9 @@ bool API_GlobalKeyboardEvent(int keyevent, int vkcode, SpecialKeyState state)
337337

338338
private void OnWinRPressed()
339339
{
340-
context.API.ChangeQuery($"{context.CurrentPluginMetadata.ActionKeywords[0]}{Plugin.Query.TermSeparator}");
341-
342340
// show the main window and set focus to the query box
343341
context.API.ShowMainWindow();
342+
context.API.ChangeQuery($"{context.CurrentPluginMetadata.ActionKeywords[0]}{Plugin.Query.TermSeparator}");
344343
}
345344

346345
public Control CreateSettingPanel()

0 commit comments

Comments
 (0)