Merge pull request #4182 from Flow-Launcher/custom_query_hotkey

Fix an issue that custom query hotkey cannot work with context menu page
This commit is contained in:
Jack Ye 2025-12-27 23:34:04 +08:00 committed by GitHub
commit 8092a440f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -143,6 +143,8 @@ internal static class HotKeyMapper
return;
App.API.ShowMainWindow();
// Make sure to go back to the query results page first since it can cause issues if current page is context menu
App.API.BackToQueryResults();
App.API.ChangeQuery(hotkey.ActionKeyword, true);
});
}