summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSamu <dj_samu@hotmail.com>2019-01-24 16:45:55 +0000
committerglx22 <glx22@users.noreply.github.com>2019-02-21 01:40:34 +0100
commit66d23e3e865167200a1121d30be9f538bb878507 (patch)
treeda8659511545983ecd5538542c74482ef0dd7c7c /src
parent19fa960d838d97269514ab4fc3a5f5214acdfb23 (diff)
downloadopenttd-66d23e3e865167200a1121d30be9f538bb878507.tar.xz
Fix #7090: Close Query String window after rebuilding AI/GS settings
Diffstat (limited to 'src')
-rw-r--r--src/ai/ai_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp
index 54a72e53b..73806da15 100644
--- a/src/ai/ai_gui.cpp
+++ b/src/ai/ai_gui.cpp
@@ -586,6 +586,7 @@ struct AISettingsWindow : public Window {
{
this->RebuildVisibleSettings();
HideDropDownMenu(this);
+ DeleteChildWindows(WC_QUERY_STRING);
}
private: