diff options
Diffstat (limited to 'src/timetable_gui.cpp')
-rw-r--r-- | src/timetable_gui.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/timetable_gui.cpp b/src/timetable_gui.cpp index fe19a27e4..fff8325b0 100644 --- a/src/timetable_gui.cpp +++ b/src/timetable_gui.cpp @@ -60,7 +60,6 @@ struct TimetableWindow : Window { this->InitNested(desc, window_number); this->owner = this->vehicle->owner; this->sel_index = -1; - this->vscroll.SetCapacity((this->GetWidget<NWidgetBase>(TTV_TIMETABLE_PANEL)->current_y - WD_FRAMERECT_TOP - WD_FRAMERECT_BOTTOM) / this->resize.step_height); } virtual void UpdateWidgetSize(int widget, Dimension *size, const Dimension &padding, Dimension *resize) |