mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-03 12:59:33 +00:00
(svn r19952) -Fix: do not close list of waypoint's trains when the waypoint view is closed - unify behaviour with other station types
This commit is contained in:
parent
1879937992
commit
3d909433ac
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user