Skip to content

Commit

Permalink
Fix OpenTTD#7090: Close Query String window after rebuilding AI/GS se…
Browse files Browse the repository at this point in the history
…ttings
  • Loading branch information
SamuXarick committed Jan 24, 2019
1 parent c3dbe83 commit 1d50e94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ai/ai_gui.cpp
Expand Up @@ -585,6 +585,7 @@ struct AISettingsWindow : public Window {
virtual void OnInvalidateData(int data = 0, bool gui_scope = true)
{
this->RebuildVisibleSettings();
DeleteChildWindows(WC_QUERY_STRING);
}
};

Expand Down

0 comments on commit 1d50e94

Please sign in to comment.