(svn r27823) -Fix: Vehicle viewport is not user scrollable so flag window as such.

This commit is contained in:
peter1138 2017-03-24 12:00:52 +00:00
parent 19d56a33e8
commit 65fef84855
1 changed files with 1 additions and 0 deletions

View File

@ -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. */