summaryrefslogtreecommitdiff
path: root/src/company_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-04-22 15:53:40 +0000
committerrubidium <rubidium@openttd.org>2011-04-22 15:53:40 +0000
commit393fb8e46b8ad9bb65dbea391ad225d0fcfffcac (patch)
tree4a1cf0b2b4191a60c63915d44ff26d9e4675d1fc /src/company_cmd.cpp
parent2802c742a453e1ce80acda7f2c7e65f6e9e711a4 (diff)
downloadopenttd-393fb8e46b8ad9bb65dbea391ad225d0fcfffcac.tar.xz
(svn r22361) -Codechange: delete the client list popup when the client got removed (instead of previously selecting some other client)
Diffstat (limited to 'src/company_cmd.cpp')
-rw-r--r--src/company_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp
index 4ccb9ae03..56920a270 100644
--- a/src/company_cmd.cpp
+++ b/src/company_cmd.cpp
@@ -556,7 +556,7 @@ Company *DoStartupNewCompany(bool is_ai, CompanyID company = INVALID_COMPANY)
GeneratePresidentName(c);
SetWindowDirty(WC_GRAPH_LEGEND, 0);
- SetWindowDirty(WC_CLIENT_LIST_POPUP, 0);
+ SetWindowClassesDirty(WC_CLIENT_LIST_POPUP);
SetWindowDirty(WC_CLIENT_LIST, 0);
BuildOwnerLegend();
InvalidateWindowData(WC_SMALLMAP, 0, 1);