From 87676d2994c470128edfaa1ea54cfd47357dafa4 Mon Sep 17 00:00:00 2001 From: AWAS666 Date: Fri, 10 Oct 2025 10:06:42 +0200 Subject: [PATCH] fix: error when dragging downwards --- Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml.cs b/Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml.cs index d319e3158..5eadf2187 100644 --- a/Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml.cs +++ b/Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml.cs @@ -215,7 +215,7 @@ namespace Flow.Launcher.Plugin.WebSearch return; items.RemoveAt(removedIdx); - items.Insert(targetIdx, droppedData); + items.Insert(removedIdx < targetIdx ? targetIdx - 1 : targetIdx, droppedData); } }