From a5f9526a9c52a3728f3f003954df5369b06c2192 Mon Sep 17 00:00:00 2001 From: emkael Date: Wed, 24 Oct 2018 00:39:44 +0200 Subject: UI for board result display --- Aktywator/Bws.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Aktywator/Bws.cs') 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 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) { -- cgit v1.2.3