Changeset - r19645:699e1ec880f0
[Not reviewed]
master
0 1 0
frosch - 12 years ago 2012-10-07 12:14:39
frosch@openttd.org
(svn r24576) -Fix [FS#5319] (r24260): Vehicle list at buoys did no longer work. (Juanjo)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/waypoint_gui.cpp
Show inline comments
 
@@ -98,25 +98,25 @@ public:
 
					ShowExtraViewPortWindow(this->GetCenterTile());
 
				} else {
 
					ScrollMainWindowToTile(this->GetCenterTile());
 
				}
 
				break;
 

	
 
			case WID_W_RENAME: // rename
 
				SetDParam(0, this->wp->index);
 
				ShowQueryString(STR_WAYPOINT_NAME, STR_EDIT_WAYPOINT_NAME, MAX_LENGTH_STATION_NAME_CHARS, this, CS_ALPHANUMERAL, QSF_ENABLE_DEFAULT | QSF_LEN_IN_CHARS);
 
				break;
 

	
 
			case WID_W_SHOW_VEHICLES: // show list of vehicles having this waypoint in their orders
 
				ShowVehicleListWindow(this->owner, this->vt, this->wp->index);
 
				ShowVehicleListWindow(this->wp->owner, this->vt, this->wp->index);
 
				break;
 
		}
 
	}
 

	
 
	/**
 
	 * Some data on this window has become invalid.
 
	 * @param data Information about the changed data.
 
	 * @param gui_scope Whether the call is done from GUI scope. You may not do everything when not in GUI scope. See #InvalidateWindowData() for details.
 
	 */
 
	virtual void OnInvalidateData(int data = 0, bool gui_scope = true)
 
	{
 
		if (!gui_scope) return;
0 comments (0 inline, 0 general)