From bb581e03d62fd3796cf771469db56bef66f53f9d Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Thu, 7 Apr 2022 20:40:39 +0300 Subject: [PATCH 14/14] Ruledit: Check same_name toggle initially in all tabs See osdn #44140 Signed-off-by: Marko Lindqvist --- tools/ruledit/tab_building.cpp | 1 + tools/ruledit/tab_extras.cpp | 1 + tools/ruledit/tab_good.cpp | 1 + tools/ruledit/tab_gov.cpp | 1 + tools/ruledit/tab_terrains.cpp | 1 + tools/ruledit/tab_unit.cpp | 1 + 6 files changed, 6 insertions(+) diff --git a/tools/ruledit/tab_building.cpp b/tools/ruledit/tab_building.cpp index 4c7cd6f3e8..22ac64baf6 100644 --- a/tools/ruledit/tab_building.cpp +++ b/tools/ruledit/tab_building.cpp @@ -101,6 +101,7 @@ tab_building::tab_building(ruledit_gui *ui_in) : QWidget() show_experimental(delete_button); refresh(); + update_bldg_info(nullptr); main_layout->addLayout(bldg_layout); diff --git a/tools/ruledit/tab_extras.cpp b/tools/ruledit/tab_extras.cpp index c680b47204..6a930462eb 100644 --- a/tools/ruledit/tab_extras.cpp +++ b/tools/ruledit/tab_extras.cpp @@ -95,6 +95,7 @@ tab_extras::tab_extras(ruledit_gui *ui_in) : QWidget() show_experimental(delete_button); refresh(); + update_extra_info(nullptr); main_layout->addLayout(extra_layout); diff --git a/tools/ruledit/tab_good.cpp b/tools/ruledit/tab_good.cpp index 845c22dd32..22cf6933a7 100644 --- a/tools/ruledit/tab_good.cpp +++ b/tools/ruledit/tab_good.cpp @@ -96,6 +96,7 @@ tab_good::tab_good(ruledit_gui *ui_in) : QWidget() show_experimental(delete_button); refresh(); + update_good_info(nullptr); main_layout->addLayout(good_layout); diff --git a/tools/ruledit/tab_gov.cpp b/tools/ruledit/tab_gov.cpp index 03bfdef959..057cb5b5e2 100644 --- a/tools/ruledit/tab_gov.cpp +++ b/tools/ruledit/tab_gov.cpp @@ -95,6 +95,7 @@ tab_gov::tab_gov(ruledit_gui *ui_in) : QWidget() show_experimental(delete_button); refresh(); + update_gov_info(nullptr); main_layout->addLayout(gov_layout); diff --git a/tools/ruledit/tab_terrains.cpp b/tools/ruledit/tab_terrains.cpp index 237ea26c41..c760192aab 100644 --- a/tools/ruledit/tab_terrains.cpp +++ b/tools/ruledit/tab_terrains.cpp @@ -91,6 +91,7 @@ tab_terrains::tab_terrains(ruledit_gui *ui_in) : QWidget() show_experimental(delete_button); refresh(); + update_terrain_info(nullptr); main_layout->addLayout(terrains_layout); diff --git a/tools/ruledit/tab_unit.cpp b/tools/ruledit/tab_unit.cpp index 21c4c91d2c..cac7e22e41 100644 --- a/tools/ruledit/tab_unit.cpp +++ b/tools/ruledit/tab_unit.cpp @@ -96,6 +96,7 @@ tab_unit::tab_unit(ruledit_gui *ui_in) : QWidget() show_experimental(delete_button); refresh(); + update_utype_info(nullptr); main_layout->addLayout(unit_layout); -- 2.35.1