summaryrefslogtreecommitdiff
path: root/Aktywator/Bws.cs
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-08-24 22:35:58 +0200
committeremkael <emkael@tlen.pl>2017-08-24 22:35:58 +0200
commit39a139c8634c180d91d8da195f60b61b4c5c6a27 (patch)
tree725e3e6a706ac5dfea184bf577904048e480a131 /Aktywator/Bws.cs
parenta5c92d1b100e70373ba434b5a0d31b81ca845f3b (diff)
A bit of formatting for section selector
Diffstat (limited to 'Aktywator/Bws.cs')
-rw-r--r--Aktywator/Bws.cs4
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)
{