summaryrefslogtreecommitdiff
path: root/src/bridge_gui.cpp
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
commitb9eea932378fb85ed40f7e88fc93092e5bc056e5 (patch)
tree67e6f6e9bb4b701cf6b6193116dbe0f0ebc8c881 /src/bridge_gui.cpp
parentf80d8dbe0c212858ab2380c3d7b65643eb576cc1 (diff)
downloadopenttd-b9eea932378fb85ed40f7e88fc93092e5bc056e5.tar.xz
(svn r13419) -Fix [FS#2063]: Entries in the bridge list were not sorted when the window was just opened.
Diffstat (limited to 'src/bridge_gui.cpp')
-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 */