From 0e6ca77e1aa9f9b3cdb7e7277e006446d435141f Mon Sep 17 00:00:00 2001 From: truebrain Date: Tue, 27 Dec 2011 15:17:42 +0000 Subject: (svn r23677) -Fix [FS#4909]: invalidate AI Parameters window when changing AI --- src/ai/ai_gui.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ai') diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp index 088d53c5c..6b6e04280 100644 --- a/src/ai/ai_gui.cpp +++ b/src/ai/ai_gui.cpp @@ -173,6 +173,7 @@ struct AIListWindow : public Window { 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) -- cgit v1.2.3-70-g09d2