We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09d8cef commit cc2df8dCopy full SHA for cc2df8d
1 file changed
Plugins/Flow.Launcher.Plugin.WebSearch/Settings.cs
@@ -7,8 +7,6 @@ namespace Flow.Launcher.Plugin.WebSearch
7
{
8
public class Settings : BaseModel
9
10
- private bool enableSuggestion;
11
-
12
public Settings()
13
14
SelectedSuggestion = Suggestions[0];
@@ -193,13 +191,17 @@ public Settings()
193
191
[JsonIgnore]
194
192
public SearchSource SelectedSearchSource { get; set; }
195
+ private bool enableSuggestion;
196
public bool EnableSuggestion
197
198
get => enableSuggestion;
199
set
200
201
- enableSuggestion = value;
202
- OnPropertyChanged(nameof(EnableSuggestion));
+ if (enableSuggestion != value)
+ {
+ enableSuggestion = value;
203
+ OnPropertyChanged(nameof(EnableSuggestion));
204
+ }
205
}
206
207
0 commit comments