fix:一言API设置重复写入

This commit is contained in:
2026-04-05 09:25:53 +08:00
parent b62055e705
commit dfc23b4428
4 changed files with 26 additions and 8 deletions
+3
View File
@@ -1261,8 +1261,11 @@ namespace Ink_Canvas
/// </remarks>
private async void ComboBoxChickenSoupSource_SelectionChanged(object sender, RoutedEventArgs e)
{
if (_suppressChickenSoupSourceSelectionChanged) return;
if (!isLoaded) return;
int idx = ComboBoxChickenSoupSource.SelectedIndex;
if (idx < 0) return;
if (Settings.Appearance.ChickenSoupSource == idx) return;
Settings.Appearance.ChickenSoupSource = idx;