summaryrefslogtreecommitdiff
path: root/Aktywator/Bws.cs
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-10-24 00:39:44 +0200
committeremkael <emkael@tlen.pl>2018-10-24 00:39:44 +0200
commita5f9526a9c52a3728f3f003954df5369b06c2192 (patch)
treef0146239a916792cbe1b280743bd5f0078a25541 /Aktywator/Bws.cs
parent5adb7bd504505036d3f32c5afcc6e3a5835f2d4a (diff)
UI for board result display
Diffstat (limited to 'Aktywator/Bws.cs')
-rw-r--r--Aktywator/Bws.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/Aktywator/Bws.cs b/Aktywator/Bws.cs
index f742c05..4c4586e 100644
--- a/Aktywator/Bws.cs
+++ b/Aktywator/Bws.cs
@@ -119,7 +119,6 @@ namespace Aktywator
this.setHandRecordInfo(board.Key);
}
}
- main.xShowResults_CheckedChanged(null, EventArgs.Empty);
if (this.detectDifferentRecordsInSections())
{
if (main.xGroupSections.Checked)
@@ -129,6 +128,7 @@ namespace Aktywator
}
Setting.saveSectionGroups(this.sql, main.xGroupSections.Checked);
}
+ main.checkRecordsForSectionGroups();
}
private void setHandRecordInfo(int board, string section = null, List<string> layout = null, bool analysis = false)
@@ -524,7 +524,8 @@ namespace Aktywator
int resultsOverview = 0;
int.TryParse(Setting.load("BM2ResultsOverview", this, errors, section), out resultsOverview);
main.xResultsOverview.SelectedIndex = resultsOverview;
- main.xGroupSections.Checked = this.getSectionGroupCount() <= 1;
+
+ main.checkRecordsForSectionGroups();
if (section == null && main.cbSettingsSection.Items.Count > 2)
{