Merge pull request #491 from pc223/fix-context-menu-bug

Fix ContextMenu bug
This commit is contained in:
Kevin Zhang 2021-06-26 18:12:47 +08:00 committed by GitHub
commit 4e28b52e05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -211,7 +211,10 @@ namespace Flow.Launcher.ViewModel
{
if (SelectedIsFromQueryResults())
{
SelectedResults = ContextMenu;
// When switch to ContextMenu from QueryResults, but no item being chosen, should do nothing
// i.e. Shift+Enter/Ctrl+O right after Alt + Space should do nothing
if (SelectedResults.SelectedItem != null)
SelectedResults = ContextMenu;
}
else
{