changeset 9480:7d7fafc872f5 draft

(svn r13419) -Fix [FS#2063]: Entries in the bridge list were not sorted when the window was just opened.
author rubidium <rubidium@openttd.org>
date Sun, 08 Jun 2008 19:18:01 +0000
parents 8d2de7234320
children cbb53dc04d5b
files src/bridge_gui.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/bridge_gui.cpp
+++ b/src/bridge_gui.cpp
@@ -119,6 +119,7 @@
 	{
 		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 */