We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac37e41 commit 25d985bCopy full SHA for 25d985b
Flow.Launcher/ViewModel/MainViewModel.cs
@@ -518,9 +518,10 @@ private void SelectNextPage()
518
[RelayCommand]
519
private void SelectPrevItem()
520
{
521
- if (_history.Items.Count > 0
522
- && QueryText == string.Empty
523
- && QueryResultsSelected())
+ if (QueryResultsSelected() // Results selected
+ && string.IsNullOrEmpty(QueryText) // No input
+ && Results.Visibility != Visibility.Visible // Results closed which means no items in Results
524
+ && _history.Items.Count > 0) // Have history items
525
526
lastHistoryIndex = 1;
527
ReverseHistory();
0 commit comments