mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 04:07:40 +02:00
Fix websearch setting issues.
This commit is contained in:
@@ -101,8 +101,12 @@ namespace Wox.Plugin.SystemPlugins
|
|||||||
|
|
||||||
private void ComboBoxSuggestionSource_OnSelectionChanged(object sender, SelectionChangedEventArgs e)
|
private void ComboBoxSuggestionSource_OnSelectionChanged(object sender, SelectionChangedEventArgs e)
|
||||||
{
|
{
|
||||||
UserSettingStorage.Instance.WebSearchSuggestionSource = ((ComboBoxItem)e.AddedItems[0]).Content.ToString();
|
if (e.AddedItems.Count > 0)
|
||||||
UserSettingStorage.Instance.Save();
|
{
|
||||||
|
UserSettingStorage.Instance.WebSearchSuggestionSource =
|
||||||
|
((ComboBoxItem) e.AddedItems[0]).Content.ToString();
|
||||||
|
UserSettingStorage.Instance.Save();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user