Changeset - r9480:75fa3be16747
[Not reviewed]
master
0 1 0
rubidium - 16 years ago 2008-06-08 19:18:01
rubidium@openttd.org
(svn r13419) -Fix [FS#2063]: Entries in the bridge list were not sorted when the window was just opened.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/bridge_gui.cpp
Show inline comments
 
@@ -116,12 +116,13 @@ public:
 
		end_tile(end),
 
		type(br_type),
 
		bridges(bl)
 
	{
 
		this->bridges->SetListing(this->last_sorting);
 
		this->bridges->SetSortFuncs(this->sorter_funcs);
 
		this->bridges->NeedResort();
 
		this->SortBridgeList();
 

	
 
		/* Change the data, or the caption of the gui. Set it to road or rail, accordingly */
 
		this->widget[BBSW_CAPTION].data = (GB(this->type, 15, 2) == TRANSPORT_ROAD) ? STR_1803_SELECT_ROAD_BRIDGE : STR_100D_SELECT_RAIL_BRIDGE;
 

	
 
		this->resize.step_height = 22;
0 comments (0 inline, 0 general)