aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/launcher.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index 40e0c3685e..b32f103dcc 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -968,12 +968,13 @@ void LauncherDialog::loadGame(int item) {
if (_loadDialog->delSave()) {
String filename = saveList[idx].filename();
//printf("Deleting file: %s\n", filename.c_str());
- MessageDialog alert("Do you really want to delete this savegame?",
- "Yes", "No");
+ MessageDialog alert("Do you really want to delete this savegame?",
+ "Delete", "Cancel");
if (alert.runModal() == GUI::kMessageOK) {
saveFileMan->removeSavefile(filename.c_str());
- if ((saveList.size() - 1) == 0)
- ConfMan.setInt("save_slot", -1);
+ if ((saveList.size() - 1) == 0) {
+ //ConfMan.setInt("save_slot", -1);
+ }
}
}
// Load the savegame