(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation

This commit is contained in:
rubidium
2009-11-16 20:34:57 +00:00
parent cb3c4f2ebe
commit 626de6b128
18 changed files with 4 additions and 75 deletions

View File

@@ -95,8 +95,6 @@ struct SignListWindow : Window, SignList {
{
this->InitNested(desc, window_number);
this->vscroll.SetCapacity((this->GetWidget<NWidgetBase>(SLW_LIST)->current_y - WD_FRAMERECT_TOP - WD_FRAMERECT_BOTTOM) / this->resize.step_height);
/* Create initial list. */
this->signs.ForceRebuild();
this->signs.ForceResort();