(svn r24770) -Fix-ish: Calling GUIList::Sort repeatedly has no use without GUIList::NeedResort since the latter has the sideeffects.

pull/155/head
frosch 12 years ago
parent f37b3740b3
commit c53e0a9ad5

@ -596,7 +596,9 @@ public:
if (this->servers.NeedRebuild()) {
this->BuildGUINetworkGameList();
}
this->SortNetworkGameList();
if (this->servers.NeedResort()) {
this->SortNetworkGameList();
}
NetworkGameList *sel = this->server;
/* 'Refresh' button invisible if no server selected */

Loading…
Cancel
Save