mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 22:28:10 +00:00
cancel button on load/save dialog is now handled correctly
svn-id: r25565
This commit is contained in:
parent
1ce912e106
commit
9317aec6a2
@ -715,7 +715,10 @@ int Parallaction::selectSaveFile(uint16 arg_0, const char* caption, const char*
|
||||
slc->setList(l);
|
||||
|
||||
int idx = slc->runModal();
|
||||
_saveFileName = slc->getResultString();
|
||||
if (idx >= 0) {
|
||||
_saveFileName = slc->getResultString();
|
||||
}
|
||||
|
||||
delete slc;
|
||||
|
||||
return idx;
|
||||
|
Loading…
Reference in New Issue
Block a user