Removed unused code

This commit is contained in:
Thorsten Sommer 2022-09-20 19:52:36 +02:00
parent 1deca740a2
commit 2cd0803cad
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -246,7 +246,6 @@ 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!