Skip to content

Commit 8092a44

Browse files
authored
Merge pull request #4182 from Flow-Launcher/custom_query_hotkey
Fix an issue that custom query hotkey cannot work with context menu page
2 parents 1a7957b + 2856803 commit 8092a44

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Flow.Launcher/Helper/HotKeyMapper.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ internal static void SetCustomQueryHotkey(CustomPluginHotkey hotkey)
143143
return;
144144

145145
App.API.ShowMainWindow();
146+
// Make sure to go back to the query results page first since it can cause issues if current page is context menu
147+
App.API.BackToQueryResults();
146148
App.API.ChangeQuery(hotkey.ActionKeyword, true);
147149
});
148150
}

0 commit comments

Comments
 (0)