summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2010-06-10 16:22:10 +0000
committersmatz <smatz@openttd.org>2010-06-10 16:22:10 +0000
commit3d909433acf8101b000159864cacbb80b5164bae (patch)
treec09fc991fd3a19cef0c6826a6ad13b61352b89e2 /src
parent1879937992fe411f23bb77b215438a5afbc6217b (diff)
downloadopenttd-3d909433acf8101b000159864cacbb80b5164bae.tar.xz
(svn r19952) -Fix: do not close list of waypoint's trains when the waypoint view is closed - unify behaviour with other station types
Diffstat (limited to 'src')
-rw-r--r--src/waypoint_gui.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/waypoint_gui.cpp b/src/waypoint_gui.cpp
index 0a6d10a10..cc11ba812 100644
--- a/src/waypoint_gui.cpp
+++ b/src/waypoint_gui.cpp
@@ -60,11 +60,6 @@ public:
this->OnInvalidateData(0);
}
- ~WaypointWindow()
- {
- DeleteWindowById(GetWindowClassForVehicleType(this->vt), (this->window_number << 16) | (this->vt << 11) | VLW_WAYPOINT_LIST | this->wp->owner);
- }
-
virtual void SetStringParameters(int widget) const
{
if (widget == WAYPVW_CAPTION) SetDParam(0, this->wp->index);