From d7dd89d7198ddfc5f4ee7068dc705fcf8c7dc960 Mon Sep 17 00:00:00 2001 From: AWAS666 Date: Fri, 10 Oct 2025 11:40:06 +0200 Subject: [PATCH] change from remove/insert to move --- Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml.cs b/Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml.cs index 3399b1226..6dc766fff 100644 --- a/Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml.cs +++ b/Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml.cs @@ -217,8 +217,7 @@ namespace Flow.Launcher.Plugin.WebSearch if (removedIdx == targetIdx) return; - items.RemoveAt(removedIdx); - items.Insert(removedIdx < targetIdx ? targetIdx - 1 : targetIdx, droppedData); + items.Move(removedIdx, targetIdx); } }