summaryrefslogtreecommitdiff
path: root/src/company_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-08-03 14:44:08 +0000
committerrubidium <rubidium@openttd.org>2009-08-03 14:44:08 +0000
commit8589fb27a06bd230799293f43bb19af42d94cae9 (patch)
treebd3d0ca9a0a64e399a8503b8b0f058de4a625771 /src/company_cmd.cpp
parentd1bc38a619a19e83214d2695c0808b47c3470834 (diff)
downloadopenttd-8589fb27a06bd230799293f43bb19af42d94cae9.tar.xz
(svn r17051) -Codechange: make the graph legend window use nested widgets
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);
}
/**