diff options
author | rubidium <rubidium@openttd.org> | 2009-01-02 21:01:27 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-01-02 21:01:27 +0000 |
commit | c331426ce0fa1d81917555dc605d882780d1a91e (patch) | |
tree | 64681c2e943582f39b31d9042b393d9d2bdcbacf /src/rail_gui.cpp | |
parent | 5130369301b709e1d326ee7e706e7fde7dad5200 (diff) | |
download | openttd-c331426ce0fa1d81917555dc605d882780d1a91e.tar.xz |
(svn r14787) -Fix: landscape toolbar getting closed when rail/road/water/airport toolbar gets closed with linked toolbars turned on.
Diffstat (limited to 'src/rail_gui.cpp')
-rw-r--r-- | src/rail_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |