(svn r25456) -Fix [FS#5560]: Assertion when opening the refit GUI for a not refittable vehicle.

This commit is contained in:
frosch
2013-06-24 20:57:50 +00:00
parent a290f2d53a
commit 5ede413531

View File

@@ -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);
}
/**