Skip to content

Commit 4e28b52

Browse files
authored
Merge pull request #491 from pc223/fix-context-menu-bug
Fix ContextMenu bug
2 parents 2e412a0 + 64cc4a9 commit 4e28b52

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,10 @@ private void InitializeKeyCommands()
211211
{
212212
if (SelectedIsFromQueryResults())
213213
{
214-
SelectedResults = ContextMenu;
214+
// When switch to ContextMenu from QueryResults, but no item being chosen, should do nothing
215+
// i.e. Shift+Enter/Ctrl+O right after Alt + Space should do nothing
216+
if (SelectedResults.SelectedItem != null)
217+
SelectedResults = ContextMenu;
215218
}
216219
else
217220
{

0 commit comments

Comments
 (0)