From e9dad7637e36dbbdc2fbb3a7b84809ba33d53832 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 27 Mar 2008 14:34:29 +0000 Subject: (svn r12441) -Feature: open the time table when pressing the order button while pressing the CTRL key. Patch by Phil Sophus. --- src/vehicle_gui.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/vehicle_gui.cpp') diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index 57fabec4e..c19badd40 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -2079,7 +2079,11 @@ static void VehicleViewWndProc(Window *w, WindowEvent *e) ShowVehicleRefitWindow(v, INVALID_VEH_ORDER_ID); break; case VVW_WIDGET_SHOW_ORDERS: /* show orders */ - ShowOrdersWindow(v); + if (_ctrl_pressed) { + ShowTimetableWindow(v); + } else { + ShowOrdersWindow(v); + } break; case VVW_WIDGET_SHOW_DETAILS: /* show details */ ShowVehicleDetailsWindow(v); -- cgit v1.2.3-54-g00ecf