From f2f8c3f3082ac3cd18c55c09b3a3828f3c944d4f Mon Sep 17 00:00:00 2001 From: crueter Date: Tue, 24 Feb 2026 17:18:41 -0500 Subject: [PATCH] Handle "no" and remind user how to delete nand Signed-off-by: crueter --- src/yuzu/configuration/configure_per_game_addons.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/yuzu/configuration/configure_per_game_addons.cpp b/src/yuzu/configuration/configure_per_game_addons.cpp index 11248004e3..bdff73a040 100644 --- a/src/yuzu/configuration/configure_per_game_addons.cpp +++ b/src/yuzu/configuration/configure_per_game_addons.cpp @@ -208,7 +208,9 @@ void ConfigurePerGameAddons::AddonDeleteRequested(QList selected) { if (filtered.empty()) { QtCommon::Frontend::Critical(tr("Invalid Selection"), - tr("Only mods, cheats, and patches can be deleted.")); + tr("Only mods, cheats, and patches can be deleted.\nTo delete " + "NAND-installed updates, right-click the game in the game " + "list and click Remove -> Remove Installed Update.")); return; } @@ -228,10 +230,10 @@ void ConfigurePerGameAddons::AddonDeleteRequested(QList selected) { QtCommon::Frontend::StandardButton::Yes | QtCommon::Frontend::StandardButton::No); - if (choice == QtCommon::Frontend::StandardButton::Yes) { - for (const QModelIndex &index : filtered) { - std::filesystem::remove_all(index.data(PATCH_LOCATION).toString().toStdString()); - } + if (choice == QtCommon::Frontend::StandardButton::No) return; + + for (const QModelIndex &index : filtered) { + std::filesystem::remove_all(index.data(PATCH_LOCATION).toString().toStdString()); } QtCommon::Frontend::Information(tr("Successfully deleted"),