aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorMax Horn2004-12-18 02:33:37 +0000
committerMax Horn2004-12-18 02:33:37 +0000
commit0894f8380436a7ae5bd3b55c1d58e576fb4fd597 (patch)
tree4d2f24538fa6adab5415704460993620e6d84555 /gui
parent06315c1ce1cc8fbf2d05637603d27f6dbc6c0cf2 (diff)
downloadscummvm-rg350-0894f8380436a7ae5bd3b55c1d58e576fb4fd597.tar.gz
scummvm-rg350-0894f8380436a7ae5bd3b55c1d58e576fb4fd597.tar.bz2
scummvm-rg350-0894f8380436a7ae5bd3b55c1d58e576fb4fd597.zip
Ensure that the file list in the browser is always sorted
svn-id: r16108
Diffstat (limited to 'gui')
-rw-r--r--gui/browser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/browser.cpp b/gui/browser.cpp
index 1388aabf87..eeb13cd2b9 100644
--- a/gui/browser.cpp
+++ b/gui/browser.cpp
@@ -197,6 +197,7 @@ void BrowserDialog::updateListing() {
// Read in the data from the file system
_nodeContent = _node.listDir();
+ _nodeContent.sort();
// Populate the ListWidget
Common::StringList list;