diff options
author | rubidium <rubidium@openttd.org> | 2009-01-02 20:59:04 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-01-02 20:59:04 +0000 |
commit | b3f2f40db7ffe7ff0b89a77d232b32302a38cd8c (patch) | |
tree | 12aa6dc7cf0075753009d46f0a0d94eee8def600 /src/vehicle_gui.cpp | |
parent | bde4b6020a001b78052fce910867ce07c8656f76 (diff) | |
download | openttd-b3f2f40db7ffe7ff0b89a77d232b32302a38cd8c.tar.xz |
(svn r14785) -Fix [FS#2132]: vehicle list for station gets closed when station view is closed even when the vehicle list is stickied. Other vehicle lists are not deleted when their 'opening' window gets closed so do the same with the station view.
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r-- | src/vehicle_gui.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index afa4e31d3..5c0136390 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -1817,10 +1817,10 @@ struct VehicleViewWindow : Window { ~VehicleViewWindow() { - DeleteWindowById(WC_VEHICLE_ORDERS, this->window_number); - DeleteWindowById(WC_VEHICLE_REFIT, this->window_number); - DeleteWindowById(WC_VEHICLE_DETAILS, this->window_number); - DeleteWindowById(WC_VEHICLE_TIMETABLE, this->window_number); + DeleteWindowById(WC_VEHICLE_ORDERS, this->window_number, false); + DeleteWindowById(WC_VEHICLE_REFIT, this->window_number, false); + DeleteWindowById(WC_VEHICLE_DETAILS, this->window_number, false); + DeleteWindowById(WC_VEHICLE_TIMETABLE, this->window_number, false); } virtual void OnPaint() |