summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-06-08 19:18:01 +0000
committerrubidium <rubidium@openttd.org>2008-06-08 19:18:01 +0000
commit2f59734909c9852cd2ca8ff1b529a6d37d9e8eca (patch)
tree67e6f6e9bb4b701cf6b6193116dbe0f0ebc8c881
parente43d0507301689d6178d310c98b1403588eb474f (diff)
downloadopenttd-2f59734909c9852cd2ca8ff1b529a6d37d9e8eca.tar.xz
(svn r13419) -Fix [FS#2063]: Entries in the bridge list were not sorted when the window was just opened.
-rw-r--r--src/bridge_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bridge_gui.cpp b/src/bridge_gui.cpp
index a5f7a1336..e50e7aeb9 100644
--- a/src/bridge_gui.cpp
+++ b/src/bridge_gui.cpp
@@ -119,6 +119,7 @@ public:
{
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 */