Qt/GameList: Cancel ISO compression when the user cancels the save dialog

This commit is contained in:
Z1ni 2018-10-14 18:49:59 +03:00
parent b5d855caf7
commit d7640f5929

View File

@ -496,6 +496,9 @@ void GameList::CompressISO(bool decompress)
.append(decompress ? QStringLiteral(".gcm") : QStringLiteral(".gcz")),
decompress ? tr("Uncompressed GC/Wii images (*.iso *.gcm)") :
tr("Compressed GC/Wii images (*.gcz)"));
if (dst_path.isEmpty())
return;
}
for (const auto& file : files)