diff options
author | peter1138 <peter1138@openttd.org> | 2017-03-24 12:00:52 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2017-03-24 12:00:52 +0000 |
commit | 65fef84855f1406e4a90cc44d13056249cff5cb5 (patch) | |
tree | 42cfe628ec52e2681da2dedf2ec38a626f4b87f4 | |
parent | 19d56a33e8842fb5e6b5f028c3d8050405af2c1a (diff) | |
download | openttd-65fef84855f1406e4a90cc44d13056249cff5cb5.tar.xz |
(svn r27823) -Fix: Vehicle viewport is not user scrollable so flag window as such.
-rw-r--r-- | src/vehicle_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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. */ |