aboutsummaryrefslogtreecommitdiff
path: root/gui/launcher.cpp
diff options
context:
space:
mode:
authorMax Horn2003-11-28 21:56:14 +0000
committerMax Horn2003-11-28 21:56:14 +0000
commit54aa33310d1dbd9f04e2ede970d8e17200798000 (patch)
treef0759afc13ec3d4d569fe2c2272dd748a665b843 /gui/launcher.cpp
parent8a6b0e2e1837711d06e0ed66913f340d8d923bb3 (diff)
downloadscummvm-rg350-54aa33310d1dbd9f04e2ede970d8e17200798000.tar.gz
scummvm-rg350-54aa33310d1dbd9f04e2ede970d8e17200798000.tar.bz2
scummvm-rg350-54aa33310d1dbd9f04e2ede970d8e17200798000.zip
reuse SaveLoadChooser in main dialog -> this means the SaveLoadChooser remembers the scroll position -> improved user experience
svn-id: r11415
Diffstat (limited to 'gui/launcher.cpp')
-rw-r--r--gui/launcher.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index 5cabc4c7bb..6ac0a8a9a7 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -428,7 +428,8 @@ void LauncherDialog::addGame() {
for (idx = 0; idx < candidates.size(); idx++)
list.push_back(candidates[idx].description);
- ChooserDialog dialog("Pick the game:", list);
+ ChooserDialog dialog("Pick the game:");
+ dialog.setList(list);
idx = dialog.runModal();
}
if (0 <= idx && idx < candidates.size()) {