diff --git a/I18N Commander/UI WinForms/Components/Setting.cs b/I18N Commander/UI WinForms/Components/Setting.cs index f9d7e2a..173371a 100644 --- a/I18N Commander/UI WinForms/Components/Setting.cs +++ b/I18N Commander/UI WinForms/Components/Setting.cs @@ -246,8 +246,7 @@ public sealed partial class Setting : UserControl // We load the corresponding culture for that index. As dropdown items, we show // all other available cultures: var allCultures = await AppSettings.GetCultureInfos(); - var sourceCulture = allCultures.FirstOrDefault(n => n.Index == currentSourceCultureIndex); - + // Attention: We have to store the culture's index, because the index is not // continuous and can change when the user adds or removes a culture! var settingData = new SettingUIData(