From 4aa63ce8f3796fe85eda5ad4f0bf4b0eb5bea1ef Mon Sep 17 00:00:00 2001 From: Tyler Trahan Date: Thu, 23 Sep 2021 15:07:54 -0400 Subject: Fix: Changing raw industry funding method redraws GUI (#9572) --- src/industry_gui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp index 69462c6f0..1b63191f3 100644 --- a/src/industry_gui.cpp +++ b/src/industry_gui.cpp @@ -769,6 +769,7 @@ public: const IndustrySpec *indsp = (this->selected_type == INVALID_INDUSTRYTYPE) ? nullptr : GetIndustrySpec(this->selected_type); if (indsp == nullptr) this->enabled[this->selected_index] = _settings_game.difficulty.industry_density != ID_FUND_ONLY; this->SetButtons(); + this->SetDirty(); } }; -- cgit v1.2.3-70-g09d2