diff options
author | Filippos Karapetis | 2011-09-25 15:01:23 +0300 |
---|---|---|
committer | Filippos Karapetis | 2011-09-25 15:03:02 +0300 |
commit | d01d228ee89d2e5c671dec825bbec50c3b6cf50c (patch) | |
tree | e9e8e46e6f203d44d10ef5bc5e7f47eaf20e91f4 /gui/saveload.cpp | |
parent | d50b519653aa0ade953097934efa4f544b167f3c (diff) | |
download | scummvm-rg350-d01d228ee89d2e5c671dec825bbec50c3b6cf50c.tar.gz scummvm-rg350-d01d228ee89d2e5c671dec825bbec50c3b6cf50c.tar.bz2 scummvm-rg350-d01d228ee89d2e5c671dec825bbec50c3b6cf50c.zip |
AGI/COMMON: Fixed bug #3407308 - "AGI: SQ2: Saving allowed in autosave slot 0 from scummvmmenu"
The save/load dialog code was not polling for meta info for empty slots
Diffstat (limited to 'gui/saveload.cpp')
-rw-r--r-- | gui/saveload.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/saveload.cpp b/gui/saveload.cpp index 02ddf814dc..ae950a21fb 100644 --- a/gui/saveload.cpp +++ b/gui/saveload.cpp @@ -240,7 +240,7 @@ void SaveLoadChooser::updateSelection(bool redraw) { _time->setLabel(_("No time saved")); _playtime->setLabel(_("No playtime saved")); - if (selItem >= 0 && !_list->getSelectedString().empty() && _metaInfoSupport) { + if (selItem >= 0 && _metaInfoSupport) { SaveStateDescriptor desc = (*_plugin)->querySaveMetaInfos(_target.c_str(), _saveList[selItem].getSaveSlot()); isDeletable = desc.getDeletableFlag() && _delSupport; |