mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix Homepage with triggers history results on arrow up
This commit is contained in:
parent
ac37e41795
commit
25d985b98f
1 changed files with 4 additions and 3 deletions
|
|
@ -518,9 +518,10 @@ namespace Flow.Launcher.ViewModel
|
|||
[RelayCommand]
|
||||
private void SelectPrevItem()
|
||||
{
|
||||
if (_history.Items.Count > 0
|
||||
&& QueryText == string.Empty
|
||||
&& QueryResultsSelected())
|
||||
if (QueryResultsSelected() // Results selected
|
||||
&& string.IsNullOrEmpty(QueryText) // No input
|
||||
&& Results.Visibility != Visibility.Visible // Results closed which means no items in Results
|
||||
&& _history.Items.Count > 0) // Have history items
|
||||
{
|
||||
lastHistoryIndex = 1;
|
||||
ReverseHistory();
|
||||
|
|
|
|||
Loading…
Reference in a new issue