mirror of https://github.com/OpenTTD/OpenTTD
(svn r25456) -Fix [FS#5560]: Assertion when opening the refit GUI for a not refittable vehicle.
parent
be2b87c1cd
commit
abb5a13f1e
|
@ -523,7 +523,7 @@ struct RefitWindow : public Window {
|
||||||
}
|
}
|
||||||
|
|
||||||
this->vscroll->SetCount(row);
|
this->vscroll->SetCount(row);
|
||||||
this->vscroll->ScrollTowards(scroll_row);
|
if (scroll_row < row) this->vscroll->ScrollTowards(scroll_row);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue