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); } }