From 8589fb27a06bd230799293f43bb19af42d94cae9 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 3 Aug 2009 14:44:08 +0000 Subject: (svn r17051) -Codechange: make the graph legend window use nested widgets --- src/company_cmd.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/company_cmd.cpp') 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); } /** -- cgit v1.2.3-54-g00ecf