summaryrefslogtreecommitdiff
path: root/Aktywator
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-04-13 17:03:57 +0200
committeremkael <emkael@tlen.pl>2018-04-13 17:03:57 +0200
commit31c37824034320c4f87c91e1bf6d6e0c98e26524 (patch)
treef050f4e1fa5e37ea74bff0cd23f72c5766be207a /Aktywator
parent5ae44afb4d3e63c9a7020689ffe3a2f14a5cc669 (diff)
Disabling section group option if there's only one section
Diffstat (limited to 'Aktywator')
-rw-r--r--Aktywator/MainForm.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Aktywator/MainForm.cs b/Aktywator/MainForm.cs
index 96b66a7..6284419 100644
--- a/Aktywator/MainForm.cs
+++ b/Aktywator/MainForm.cs
@@ -345,6 +345,10 @@ namespace Aktywator
{
bws.sectionGroupWarning();
}
+ if (cbSettingsSection.Items.Count <= 2)
+ {
+ xGroupSections.Enabled = false;
+ }
}
private void xMemberNumbers_CheckedChanged(object sender, EventArgs e)