mirror of https://github.com/OpenTTD/OpenTTD
(svn r22128) -Fix [FS#4530]: Build-station-window showed wrong selection when reopening. (Regiovogel)
parent
4860eff98c
commit
ee111ce1a4
|
@ -1004,7 +1004,7 @@ public:
|
||||||
NWidgetMatrix *matrix = this->GetWidget<NWidgetMatrix>(BRSW_MATRIX);
|
NWidgetMatrix *matrix = this->GetWidget<NWidgetMatrix>(BRSW_MATRIX);
|
||||||
matrix->SetScrollbar(this->vscroll2);
|
matrix->SetScrollbar(this->vscroll2);
|
||||||
matrix->SetCount(_railstation.station_count);
|
matrix->SetCount(_railstation.station_count);
|
||||||
matrix->SetClicked(0);
|
matrix->SetClicked(_railstation.station_type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue