From 5e21805c9de4e973c73d6bcd4659316d9eba7f68 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Thu, 7 Apr 2022 20:38:33 +0300 Subject: [PATCH 44/44] 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_multiplier.cpp | 1 + tools/ruledit/tab_terrains.cpp | 1 + tools/ruledit/tab_unit.cpp | 1 + 7 files changed, 7 insertions(+) diff --git a/tools/ruledit/tab_building.cpp b/tools/ruledit/tab_building.cpp index a9dc50fee6..4a071ead61 100644 --- a/tools/ruledit/tab_building.cpp +++ b/tools/ruledit/tab_building.cpp @@ -106,6 +106,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 7590ba41d4..17945211d5 100644 --- a/tools/ruledit/tab_extras.cpp +++ b/tools/ruledit/tab_extras.cpp @@ -100,6 +100,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 702f306b43..fc6551169d 100644 --- a/tools/ruledit/tab_good.cpp +++ b/tools/ruledit/tab_good.cpp @@ -101,6 +101,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 311a2c57a5..2c5f27a36a 100644 --- a/tools/ruledit/tab_gov.cpp +++ b/tools/ruledit/tab_gov.cpp @@ -100,6 +100,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_multiplier.cpp b/tools/ruledit/tab_multiplier.cpp index e6f0692fd9..0b50d4797f 100644 --- a/tools/ruledit/tab_multiplier.cpp +++ b/tools/ruledit/tab_multiplier.cpp @@ -96,6 +96,7 @@ tab_multiplier::tab_multiplier(ruledit_gui *ui_in) : QWidget() show_experimental(delete_button); refresh(); + update_multiplier_info(nullptr); main_layout->addLayout(mpr_layout); diff --git a/tools/ruledit/tab_terrains.cpp b/tools/ruledit/tab_terrains.cpp index e3a6ce3680..9a32be881a 100644 --- a/tools/ruledit/tab_terrains.cpp +++ b/tools/ruledit/tab_terrains.cpp @@ -96,6 +96,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 6438028f00..c64a9537d2 100644 --- a/tools/ruledit/tab_unit.cpp +++ b/tools/ruledit/tab_unit.cpp @@ -101,6 +101,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