From 7c670de7c2d548ed60675399b07056f9e04fe4d4 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Thu, 1 Jan 2026 18:23:12 +1100 Subject: [PATCH] fix history result highlight and scroll when history mode activated --- Flow.Launcher/ViewModel/MainViewModel.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Flow.Launcher/ViewModel/MainViewModel.cs b/Flow.Launcher/ViewModel/MainViewModel.cs index e7b4023c2..c3c9d8fc8 100644 --- a/Flow.Launcher/ViewModel/MainViewModel.cs +++ b/Flow.Launcher/ViewModel/MainViewModel.cs @@ -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 {