diff options
author | rubidium <rubidium@openttd.org> | 2008-06-08 19:18:01 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-06-08 19:18:01 +0000 |
commit | b9eea932378fb85ed40f7e88fc93092e5bc056e5 (patch) | |
tree | 67e6f6e9bb4b701cf6b6193116dbe0f0ebc8c881 | |
parent | f80d8dbe0c212858ab2380c3d7b65643eb576cc1 (diff) | |
download | openttd-b9eea932378fb85ed40f7e88fc93092e5bc056e5.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.cpp | 1 |
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 */ |