mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Simplify conditions
This commit is contained in:
parent
9ac92e2939
commit
3d6d79b6e4
1 changed files with 2 additions and 3 deletions
|
|
@ -429,9 +429,8 @@ namespace Flow.Launcher.ViewModel
|
|||
private void SelectPrevItem()
|
||||
{
|
||||
if (_history.Items.Count > 0
|
||||
&& _queryText == String.Empty
|
||||
&& !HistorySelected()
|
||||
&& !ContextMenuSelected())
|
||||
&& QueryText == string.Empty
|
||||
&& SelectedIsFromQueryResults())
|
||||
{
|
||||
lastHistoryIndex = 1;
|
||||
ReverseHistory();
|
||||
|
|
|
|||
Loading…
Reference in a new issue