aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorFilippos Karapetis2008-11-07 19:43:01 +0000
committerFilippos Karapetis2008-11-07 19:43:01 +0000
commit57e57c49cee547a9b48ebdedeea6b8bc2d9892fa (patch)
treeccc9e579585253fc68bd9b1ba9317bfded7d8615 /gui
parente6337d11aa74322dc6e362ede199a9f4c4ebc5cf (diff)
downloadscummvm-rg350-57e57c49cee547a9b48ebdedeea6b8bc2d9892fa.tar.gz
scummvm-rg350-57e57c49cee547a9b48ebdedeea6b8bc2d9892fa.tar.bz2
scummvm-rg350-57e57c49cee547a9b48ebdedeea6b8bc2d9892fa.zip
Saving a game from GMM is now working for the SAGA engine, though the description is not set correctly yet
svn-id: r34932
Diffstat (limited to 'gui')
-rw-r--r--gui/launcher.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index 621a664a89..a60aa41510 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -565,7 +565,6 @@ void SaveLoadChooser::handleCommand(CommandSender *sender, uint32 cmd, uint32 da
case GUI::kListSelectionChangedCmd: {
updateSelection(true);
- /*
if (_list->isEditable()) {
_list->startEditMode();
}
@@ -574,7 +573,6 @@ void SaveLoadChooser::handleCommand(CommandSender *sender, uint32 cmd, uint32 da
// because we then just assign a default name.
_chooseButton->setEnabled(selItem >= 0 && (_list->isEditable() || !getResultString().empty()));
_chooseButton->draw();
- */
} break;
case kDelCmd:
if (selItem >= 0 && _delSupport) {
@@ -742,11 +740,7 @@ void SaveLoadChooser::updateSaveList() {
StringList saveNames;
for (SaveStateList::const_iterator x = _saveList.begin(); x != _saveList.end(); ++x) {
- Common::String description = x->save_slot();
- description += ". ";
- description += x->description();
-
- saveNames.push_back(description);
+ saveNames.push_back(x->description());
}
_list->setList(saveNames);
}