DeliveryAdminWindow: Fix scale button ordering
All checks were successful
Test / Run tests (push) Successful in 2m54s

This commit is contained in:
2024-07-29 23:12:00 +02:00
parent 12d2aeecaf
commit 7786fb421a

View File

@ -87,7 +87,7 @@ namespace Elwig.Helpers {
SmtpPassword = config["smtp:password"];
SmtpFrom = config["smtp:from"];
var scales = config.AsEnumerable().Where(i => i.Key.StartsWith("scale.")).GroupBy(i => i.Key.Split(':')[0][6..]).Select(i => i.Key);
var scales = config.AsEnumerable().Where(i => i.Key.StartsWith("scale.")).GroupBy(i => i.Key.Split(':')[0][6..]).Select(i => i.Key).Order();
ScaleList.Clear();
Scales = ScaleList;
foreach (var s in scales) {