From 72269db8e6d7b66a0a4b2c25e89dd3285832691e Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Tue, 24 Feb 2026 00:07:36 +0800 Subject: [PATCH] Enable TwoWay binding for MaxSuggestions NumberBox Changed NumberBox binding for Settings.MaxSuggestions from OneWay to TwoWay, allowing user input in the UI to update the underlying setting. This ensures changes made by users are saved back to the settings model. --- Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml b/Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml index e4f3485cd..2c0841253 100644 --- a/Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml +++ b/Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml @@ -164,7 +164,7 @@ SpinButtonPlacementMode="Compact" ValidationMode="InvalidInputOverwritten" ValueChanged="NumberBox_ValueChanged" - Value="{Binding Settings.MaxSuggestions, Mode=OneWay}" /> + Value="{Binding Settings.MaxSuggestions, Mode=TwoWay}" />