From b3e7b64baf567806edb172dbc4b1b2f542a1fc2a Mon Sep 17 00:00:00 2001 From: Elias Fierke Date: Sun, 2 Aug 2026 16:42:49 +0200 Subject: [PATCH] [chore:] mini-cleanup --- MainWindow.axaml.cs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/MainWindow.axaml.cs b/MainWindow.axaml.cs index 8cabd25..eb028e7 100644 --- a/MainWindow.axaml.cs +++ b/MainWindow.axaml.cs @@ -472,7 +472,15 @@ public partial class MainWindow : Window private void SetSettingsCustomerEnabledState(bool enable = true) { - List nboom = new() { BtnSettingsImportCustomerAddressPatch, GrdCSVDividerButtonsAndTb, TbSettingsCustomerDescription, TbSettingsCustomerName, BtnDeleteCustomer, TbSettingsCustomerSenderAddress}; + List nboom = new() + { + BtnSettingsImportCustomerAddressPatch, + GrdCSVDividerButtonsAndTb, + TbSettingsCustomerDescription, + TbSettingsCustomerName, + BtnDeleteCustomer, + TbSettingsCustomerSenderAddress + }; foreach (var obj in nboom) { (obj as Control).IsEnabled = enable; @@ -1355,8 +1363,7 @@ public partial class MainWindow : Window { BtnCombineAddressSetSortUp.IsEnabled = false; BtnCombineAddressSetSortDown.IsEnabled = false; - } - else + } else { BtnCombineAddressSetSortDown.IsEnabled = true; BtnCombineAddressSetSortUp.IsEnabled = true;