mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix reset to results logic
This commit is contained in:
parent
12da405387
commit
e9c402eb60
1 changed files with 5 additions and 7 deletions
|
|
@ -286,11 +286,7 @@ namespace Flow.Launcher.ViewModel
|
|||
_userSelectedRecord.Add(result);
|
||||
_history.Add(result.OriginQuery.RawQuery);
|
||||
}
|
||||
else
|
||||
{
|
||||
SelectedResults = Results;
|
||||
}
|
||||
|
||||
|
||||
if (hideWindow)
|
||||
{
|
||||
Hide();
|
||||
|
|
@ -1002,8 +998,6 @@ namespace Flow.Launcher.ViewModel
|
|||
{
|
||||
Application.Current.Dispatcher.Invoke(() =>
|
||||
{
|
||||
SelectedResults = Results;
|
||||
|
||||
MainWindowVisibility = Visibility.Visible;
|
||||
|
||||
MainWindowOpacity = 1;
|
||||
|
|
@ -1017,6 +1011,10 @@ namespace Flow.Launcher.ViewModel
|
|||
// Trick for no delay
|
||||
MainWindowOpacity = 0;
|
||||
|
||||
if (!SelectedIsFromQueryResults())
|
||||
{
|
||||
SelectedResults = Results;
|
||||
}
|
||||
switch (Settings.LastQueryMode)
|
||||
{
|
||||
case LastQueryMode.Empty:
|
||||
|
|
|
|||
Loading…
Reference in a new issue