aboutsummaryrefslogtreecommitdiff
path: root/base/commandLine.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2012-09-26 02:11:39 +0200
committerJohannes Schickel2012-09-26 02:59:31 +0200
commit66fb399227acd92db3dc8d9ee193a41609cf3d39 (patch)
treeecf3e3a902fed90f222f2f76812780da58df2614 /base/commandLine.cpp
parentbe9c9e59b75a5a341eec0bdb6812ae3e3c4c338b (diff)
downloadscummvm-rg350-66fb399227acd92db3dc8d9ee193a41609cf3d39.tar.gz
scummvm-rg350-66fb399227acd92db3dc8d9ee193a41609cf3d39.tar.bz2
scummvm-rg350-66fb399227acd92db3dc8d9ee193a41609cf3d39.zip
GUI: Save/restore the last used page in the grid save/load dialog.
This allows opening the dialog on (nearly) the same page again as when it was closed. Sadly due to the different number of entries in the save and load version this is not always exactly the same page as before. Same goes for resolution changes. Thanks to wjp for suggesting this.
Diffstat (limited to 'base/commandLine.cpp')
-rw-r--r--base/commandLine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/commandLine.cpp b/base/commandLine.cpp
index 5ad23313dc..44007c494a 100644
--- a/base/commandLine.cpp
+++ b/base/commandLine.cpp
@@ -238,7 +238,7 @@ void registerDefaults() {
ConfMan.registerDefault("record_time_file_name", "record.time");
ConfMan.registerDefault("gui_saveload_chooser", "grid");
-
+ ConfMan.registerDefault("gui_saveload_last_pos", "0");
}
//