diff options
author | emkael <emkael@tlen.pl> | 2017-08-24 22:35:58 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2017-08-24 22:35:58 +0200 |
commit | 39a139c8634c180d91d8da195f60b61b4c5c6a27 (patch) | |
tree | 725e3e6a706ac5dfea184bf577904048e480a131 /Aktywator/Bws.cs | |
parent | a5c92d1b100e70373ba434b5a0d31b81ca845f3b (diff) |
A bit of formatting for section selector
Diffstat (limited to 'Aktywator/Bws.cs')
-rw-r--r-- | Aktywator/Bws.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Aktywator/Bws.cs b/Aktywator/Bws.cs index 13067cf..ab15670 100644 --- a/Aktywator/Bws.cs +++ b/Aktywator/Bws.cs @@ -275,7 +275,7 @@ namespace Aktywator return; } main.lFirstSectorSettings.Visible = false; - string section = "*".Equals(main.cbSettingsSection.Text) ? null : this.sectorLetterToNumber(main.cbSettingsSection.Text).ToString(); + string section = "*".Equals(main.cbSettingsSection.Text.Trim()) ? null : this.sectorLetterToNumber(main.cbSettingsSection.Text.Trim()).ToString(); StringBuilder errors = new StringBuilder(); foreach (Setting s in settings) { @@ -322,7 +322,7 @@ namespace Aktywator public void saveSettings() { - string section = "*".Equals(main.cbSettingsSection.Text) ? null : this.sectorLetterToNumber(main.cbSettingsSection.Text).ToString(); + string section = "*".Equals(main.cbSettingsSection.Text.Trim()) ? null : this.sectorLetterToNumber(main.cbSettingsSection.Text.Trim()).ToString(); StringBuilder errors = new StringBuilder(); foreach (Setting s in settings) { |