summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2017-03-24 12:00:52 +0000
committerpeter1138 <peter1138@openttd.org>2017-03-24 12:00:52 +0000
commit65fef84855f1406e4a90cc44d13056249cff5cb5 (patch)
tree42cfe628ec52e2681da2dedf2ec38a626f4b87f4 /src
parent19d56a33e8842fb5e6b5f028c3d8050405af2c1a (diff)
downloadopenttd-65fef84855f1406e4a90cc44d13056249cff5cb5.tar.xz
(svn r27823) -Fix: Vehicle viewport is not user scrollable so flag window as such.
Diffstat (limited to 'src')
-rw-r--r--src/vehicle_gui.cpp1
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. */