mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r23677) -Fix [FS#4909]: invalidate AI Parameters window when changing AI
This commit is contained in:
parent
2c09939bd3
commit
0e6ca77e1a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue