Mercurial > hg > openttd
changeset 18828:24db746294b4 draft
(svn r23677) -Fix [FS#4909]: invalidate AI Parameters window when changing AI
author | truebrain <truebrain@openttd.org> |
---|---|
date | Tue, 27 Dec 2011 15:17:42 +0000 |
parents | 870c728d1970 |
children | dcb54d33ce86 |
files | src/ai/ai_gui.cpp |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ai/ai_gui.cpp +++ b/src/ai/ai_gui.cpp @@ -173,6 +173,7 @@ GetConfig(slot)->Change((*it).second->GetName(), (*it).second->GetVersion()); } InvalidateWindowData(WC_GAME_OPTIONS, WN_GAME_OPTIONS_AI); + InvalidateWindowClassesData(WC_AI_SETTINGS); } virtual void OnClick(Point pt, int widget, int click_count)