summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/airport_gui.cpp2
-rw-r--r--src/dock_gui.cpp2
-rw-r--r--src/rail_gui.cpp2
-rw-r--r--src/road_gui.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/airport_gui.cpp b/src/airport_gui.cpp
index e6c0a2e69..39e600402 100644
--- a/src/airport_gui.cpp
+++ b/src/airport_gui.cpp
@@ -76,7 +76,7 @@ struct BuildAirToolbarWindow : Window {
~BuildAirToolbarWindow()
{
- 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()
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()
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp
index ac0416845..713a0ab93 100644
--- a/src/rail_gui.cpp
+++ b/src/rail_gui.cpp
@@ -626,7 +626,7 @@ struct BuildRailToolbarWindow : Window {
~BuildRailToolbarWindow()
{
- 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);
}
void UpdateRemoveWidgetStatus(int clicked_widget)
diff --git a/src/road_gui.cpp b/src/road_gui.cpp
index 254e5d03d..938adc10f 100644
--- a/src/road_gui.cpp
+++ b/src/road_gui.cpp
@@ -415,7 +415,7 @@ struct BuildRoadToolbarWindow : Window {
~BuildRoadToolbarWindow()
{
- 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);
}
/**