summaryrefslogtreecommitdiff
path: root/Aktywator/Bws.cs
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-09-12 18:42:01 +0200
committeremkael <emkael@tlen.pl>2017-09-12 18:42:01 +0200
commit616b4d11f37fc4ad2cecb1a14a2d2cdc6b8486b9 (patch)
tree5bbbb6fe7ca3f2e1e9743672c268f22cff6d9ef0 /Aktywator/Bws.cs
parente2f9413e05d4565e16eff21cb3bb25f5a0b509d4 (diff)
Warning about inability to update section grouping during active session
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");