GUI: Fix saving in a new slot with the list save dialog
This revert part of a17816f1
(GUI: Warn when saving a "young" game
over an "older" one).
The issue was that when trying to save in a new slot with the list
save dialog, this was not creating the save.
This finishes to fix bug #12850
This commit is contained in:
parent
626d0ed4b6
commit
0425dff824
1 changed files with 0 additions and 2 deletions
|
@ -597,8 +597,6 @@ void SaveLoadChooserSimple::updateSelection(bool redraw) {
|
|||
|
||||
if (selItem >= 0 && _metaInfoSupport) {
|
||||
SaveStateDescriptor desc = (_saveList[selItem].getLocked() ? _saveList[selItem] : _metaEngine->querySaveMetaInfos(_target.c_str(), _saveList[selItem].getSaveSlot()));
|
||||
if (!_saveList[selItem].getLocked())
|
||||
_saveList[selItem] = desc;
|
||||
|
||||
isDeletable = desc.getDeletableFlag() && _delSupport;
|
||||
isWriteProtected = desc.getWriteProtectedFlag() ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue