(svn r23668) -Fix: the 'Configure' button in the 'AI / Game Configuration' window didn't get enabled when activating a GameScript

This commit is contained in:
smatz 2011-12-24 13:08:11 +00:00
parent 2c7cb71057
commit e5a8e94492

View File

@ -172,7 +172,7 @@ struct AIListWindow : public Window {
for (int i = 0; i < this->selected; i++) it++;
GetConfig(slot)->Change((*it).second->GetName(), (*it).second->GetVersion());
}
SetWindowDirty(WC_GAME_OPTIONS, WN_GAME_OPTIONS_AI);
InvalidateWindowData(WC_GAME_OPTIONS, WN_GAME_OPTIONS_AI);
}
virtual void OnClick(Point pt, int widget, int click_count)