(svn r23677) -Fix [FS#4909]: invalidate AI Parameters window when changing AI

This commit is contained in:
truebrain 2011-12-27 15:17:42 +00:00
parent 2c09939bd3
commit 0e6ca77e1a
1 changed files with 1 additions and 0 deletions

View File

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