From 65fef84855f1406e4a90cc44d13056249cff5cb5 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Fri, 24 Mar 2017 12:00:52 +0000 Subject: (svn r27823) -Fix: Vehicle viewport is not user scrollable so flag window as such. --- src/vehicle_gui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index a77ea18df..b9c24ddd0 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -2456,6 +2456,7 @@ private: public: VehicleViewWindow(WindowDesc *desc, WindowNumber window_number) : Window(desc) { + this->flags |= WF_DISABLE_VP_SCROLL; this->CreateNestedTree(); /* Sprites for the 'send to depot' button indexed by vehicle type. */ -- cgit v1.2.3-70-g09d2