mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
fix history result highlight and scroll when history mode activated
This commit is contained in:
parent
20854ba5d7
commit
7c670de7c2
1 changed files with 4 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
|
|
@ -355,7 +355,9 @@ namespace Flow.Launcher.ViewModel
|
|||
if (QueryResultsSelected())
|
||||
{
|
||||
SelectedResults = History;
|
||||
History.SelectedIndex = _history.LastOpenedHistoryItems.Count - 1;
|
||||
|
||||
SelectedResults.SelectedIndex = 0;
|
||||
SelectedResults.SelectedItem = SelectedResults.Results[0];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue