diff options
author | rubidium <rubidium@openttd.org> | 2011-04-22 15:53:40 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-04-22 15:53:40 +0000 |
commit | 393fb8e46b8ad9bb65dbea391ad225d0fcfffcac (patch) | |
tree | 4a1cf0b2b4191a60c63915d44ff26d9e4675d1fc /src/company_cmd.cpp | |
parent | 2802c742a453e1ce80acda7f2c7e65f6e9e711a4 (diff) | |
download | openttd-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.cpp | 2 |
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); |