From d7640f592977cdcffad295663f05963b015f6eb2 Mon Sep 17 00:00:00 2001 From: Z1ni Date: Sun, 14 Oct 2018 18:49:59 +0300 Subject: [PATCH] Qt/GameList: Cancel ISO compression when the user cancels the save dialog --- Source/Core/DolphinQt/GameList/GameList.cpp | 3 +++ 1 file changed, 3 insertions(+) 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)