diff options
author | Tyler Trahan <tyler@tylertrahan.com> | 2021-09-23 15:07:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-23 21:07:54 +0200 |
commit | 4aa63ce8f3796fe85eda5ad4f0bf4b0eb5bea1ef (patch) | |
tree | ed7325778f698665429cd9d4887ce17f6b4d4724 /src/industry_gui.cpp | |
parent | 753b1d7e155ffe7b3585273998278aceee25fa1a (diff) | |
download | openttd-4aa63ce8f3796fe85eda5ad4f0bf4b0eb5bea1ef.tar.xz |
Fix: Changing raw industry funding method redraws GUI (#9572)
Diffstat (limited to 'src/industry_gui.cpp')
-rw-r--r-- | src/industry_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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(); } }; |