(svn r22361) -Codechange: delete the client list popup when the client got removed (instead of previously selecting some other client)

This commit is contained in:
rubidium
2011-04-22 15:53:40 +00:00
parent 2802c742a4
commit 393fb8e46b
3 changed files with 5 additions and 4 deletions

View File

@@ -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);