summaryrefslogtreecommitdiff
path: root/src/company_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/company_cmd.cpp')
-rw-r--r--src/company_cmd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp
index 8b02f260b..47543389e 100644
--- a/src/company_cmd.cpp
+++ b/src/company_cmd.cpp
@@ -61,6 +61,7 @@ Company::~Company()
if (CleaningPool()) return;
DeleteCompanyWindows(this->index);
+ InvalidateWindowData(WC_GRAPH_LEGEND, 0, this->index);
}
/**