changeset 15311:07b36528c711 draft

(svn r19952) -Fix: do not close list of waypoint's trains when the waypoint view is closed - unify behaviour with other station types
author smatz <smatz@openttd.org>
date Thu, 10 Jun 2010 16:22:10 +0000
parents 996d46c77fb8
children 9c5f42023621
files src/waypoint_gui.cpp
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/waypoint_gui.cpp
+++ b/src/waypoint_gui.cpp
@@ -60,11 +60,6 @@
 		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);