mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Use BackToQueryResults for code quality
This commit is contained in:
parent
8bb96d7f58
commit
62e1252ac4
1 changed files with 2 additions and 5 deletions
|
|
@ -1170,7 +1170,7 @@ namespace Flow.Launcher.ViewModel
|
|||
OriginQuery = new Query { RawQuery = h.Query },
|
||||
Action = _ =>
|
||||
{
|
||||
SelectedResults = Results;
|
||||
App.API.BackToQueryResults();
|
||||
App.API.ChangeQuery(h.Query);
|
||||
return false;
|
||||
}
|
||||
|
|
@ -1600,10 +1600,7 @@ namespace Flow.Launcher.ViewModel
|
|||
await CloseExternalPreviewAsync();
|
||||
}
|
||||
|
||||
if (!QueryResultsSelected())
|
||||
{
|
||||
SelectedResults = Results;
|
||||
}
|
||||
BackToQueryResults();
|
||||
|
||||
switch (Settings.LastQueryMode)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue