From 4a5db57f7b17f8f18b02caaaa92d0a048a637152 Mon Sep 17 00:00:00 2001 From: Peter Nelson Date: Sat, 26 Apr 2025 12:56:11 +0100 Subject: [PATCH] Fix #14107: Mark the company value in the company view window dirty when it changes. (#14112) --- src/company_cmd.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp index 50cec4ee6a..80e135198a 100644 --- a/src/company_cmd.cpp +++ b/src/company_cmd.cpp @@ -229,6 +229,7 @@ void InvalidateCompanyWindows() w->SetWidgetDirty(WID_CF_OWN_VALUE); w->SetWidgetDirty(WID_CF_BALANCE_VALUE); } + SetWindowWidgetDirty(WC_COMPANY, cid, WID_C_DESC_COMPANY_VALUE); } _dirty_company_finances = {}; }