Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Flow.Launcher/ViewModel/MainViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -518,9 +518,10 @@ private void SelectNextPage()
[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();
Expand Down
Loading