summaryrefslogtreecommitdiff
path: root/src/dock_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dock_gui.cpp')
-rw-r--r--src/dock_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dock_gui.cpp b/src/dock_gui.cpp
index a9fc90709..943568af6 100644
--- a/src/dock_gui.cpp
+++ b/src/dock_gui.cpp
@@ -169,7 +169,7 @@ struct BuildDocksToolbarWindow : Window {
~BuildDocksToolbarWindow()
{
- if (_settings_client.gui.link_terraform_toolbar) DeleteWindowById(WC_SCEN_LAND_GEN, 0);
+ if (_settings_client.gui.link_terraform_toolbar) DeleteWindowById(WC_SCEN_LAND_GEN, 0, false);
}
virtual void OnPaint()