1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-31 10:29:10 +00:00

Fix #7091: Close dropdown menu windows after rebuilding AI/GS settings

This commit is contained in:
Samu
2019-01-24 16:40:43 +00:00
committed by Michael Lutz
parent 21f009dc78
commit 19fa960d83

View File

@@ -585,6 +585,7 @@ struct AISettingsWindow : public Window {
virtual void OnInvalidateData(int data = 0, bool gui_scope = true)
{
this->RebuildVisibleSettings();
HideDropDownMenu(this);
}
private: