diff options
| author | Tilka <tilkax@gmail.com> | 2018-10-14 20:27:47 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-14 20:27:47 +0100 |
| commit | dace56cb626d9988efca4db4521e2f56f745ecc1 (patch) | |
| tree | e2a8b5120fcb567504afa0698e552b6d66eac2a2 /Source | |
| parent | b5d855caf7a2bed70edca0385922ffc6dfb5286f (diff) | |
| parent | d7640f592977cdcffad295663f05963b015f6eb2 (diff) | |
Merge pull request #7498 from Z1ni/compress-cancel-correctly
Qt/GameList: Cancel ISO compression when the user cancels the save dialog
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/DolphinQt/GameList/GameList.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/GameList/GameList.cpp b/Source/Core/DolphinQt/GameList/GameList.cpp index 6dbe3e1211..2bec941b97 100644 --- a/Source/Core/DolphinQt/GameList/GameList.cpp +++ b/Source/Core/DolphinQt/GameList/GameList.cpp @@ -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) |
