diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vehicle_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index a38b070df..67242ed43 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -523,7 +523,7 @@ struct RefitWindow : public Window { } this->vscroll->SetCount(row); - this->vscroll->ScrollTowards(scroll_row); + if (scroll_row < row) this->vscroll->ScrollTowards(scroll_row); } /** |