(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

@@ -677,9 +677,6 @@ public:
this->selected_order = -1;
this->owner = v->owner;
int num_lines = (this->GetWidget<NWidgetBase>(ORDER_WIDGET_ORDER_LIST)->current_y - WD_FRAMERECT_TOP - WD_FRAMERECT_BOTTOM) / this->resize.step_height;
this->vscroll.SetCapacity(num_lines);
if (_settings_client.gui.quick_goto && v->owner == _local_company) {
/* If there are less than 2 station, make Go To active. */
int station_orders = 0;