mirror of https://github.com/OpenTTD/OpenTTD
(svn r13419) -Fix [FS#2063]: Entries in the bridge list were not sorted when the window was just opened.
parent
e43d050730
commit
2f59734909
|
@ -119,6 +119,7 @@ public:
|
||||||
{
|
{
|
||||||
this->bridges->SetListing(this->last_sorting);
|
this->bridges->SetListing(this->last_sorting);
|
||||||
this->bridges->SetSortFuncs(this->sorter_funcs);
|
this->bridges->SetSortFuncs(this->sorter_funcs);
|
||||||
|
this->bridges->NeedResort();
|
||||||
this->SortBridgeList();
|
this->SortBridgeList();
|
||||||
|
|
||||||
/* Change the data, or the caption of the gui. Set it to road or rail, accordingly */
|
/* Change the data, or the caption of the gui. Set it to road or rail, accordingly */
|
||||||
|
|
Loading…
Reference in New Issue