diff options
author | emkael <emkael@tlen.pl> | 2018-04-13 17:03:57 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2018-04-13 17:03:57 +0200 |
commit | 31c37824034320c4f87c91e1bf6d6e0c98e26524 (patch) | |
tree | f050f4e1fa5e37ea74bff0cd23f72c5766be207a | |
parent | 5ae44afb4d3e63c9a7020689ffe3a2f14a5cc669 (diff) |
Disabling section group option if there's only one section
-rw-r--r-- | Aktywator/MainForm.cs | 4 |
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) |