summaryrefslogtreecommitdiff
path: root/Aktywator/Bws.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Aktywator/Bws.cs')
-rw-r--r--Aktywator/Bws.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/Aktywator/Bws.cs b/Aktywator/Bws.cs
index d7b5552..763b11d 100644
--- a/Aktywator/Bws.cs
+++ b/Aktywator/Bws.cs
@@ -309,6 +309,7 @@ namespace Aktywator
if (section == null && main.cbSettingsSection.Items.Count > 2)
{
main.lFirstSectorSettings.Visible = true;
+ this.sectionGroupWarning();
}
if (errors.Length > 0)
@@ -318,6 +319,15 @@ namespace Aktywator
}
}
+ public void sectionGroupWarning()
+ {
+ main.lGroupSectionsWarning.Visible = false;
+ if (main.xShowResults.Checked)
+ {
+ main.lGroupSectionsWarning.Visible = true;
+ }
+ }
+
private int getSectionGroupCount()
{
OleDbDataReader rows = sql.select("SELECT DISTINCT `Group` FROM Tables");