From 57e57c49cee547a9b48ebdedeea6b8bc2d9892fa Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Fri, 7 Nov 2008 19:43:01 +0000 Subject: Saving a game from GMM is now working for the SAGA engine, though the description is not set correctly yet svn-id: r34932 --- gui/launcher.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'gui') 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); } -- cgit v1.2.3