Skip to content

Commit b5b202f

Browse files
committed
Revert to results panel before hiding when executing context menu
1 parent b40c1f8 commit b5b202f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -211,11 +211,6 @@ private void InitializeKeyCommands()
211211
SpecialKeyState = GlobalHotkey.CheckModifiers()
212212
});
213213

214-
if (hideWindow)
215-
{
216-
Hide();
217-
}
218-
219214
if (SelectedIsFromQueryResults())
220215
{
221216
_userSelectedRecord.Add(result);
@@ -225,6 +220,11 @@ private void InitializeKeyCommands()
225220
{
226221
SelectedResults = Results;
227222
}
223+
224+
if (hideWindow)
225+
{
226+
Hide();
227+
}
228228
}
229229
});
230230

@@ -772,10 +772,10 @@ public void ToggleFlowLauncher()
772772

773773
public void Show()
774774
{
775-
MainWindowVisibility = Visibility.Visible;
776-
777775
SelectedResults = Results;
778776

777+
MainWindowVisibility = Visibility.Visible;
778+
779779
MainWindowVisibilityStatus = true;
780780

781781
MainWindowOpacity = 1;

0 commit comments

Comments
 (0)