From 5688227dcc7db506ad74d443546e00cae0568f91 Mon Sep 17 00:00:00 2001 From: Nick Hastings Date: Thu, 6 Jul 2023 20:08:43 -0400 Subject: [PATCH] Tweak messaging on uninstall-missing-source games feature --- EmuLibrary/EmuLibrary.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EmuLibrary/EmuLibrary.cs b/EmuLibrary/EmuLibrary.cs index f0319fc..a463341 100644 --- a/EmuLibrary/EmuLibrary.cs +++ b/EmuLibrary/EmuLibrary.cs @@ -212,7 +212,7 @@ private void RemoveSuperUninstalledGames(bool promptUser, CancellationToken ct) System.Windows.MessageBoxResult res; if (promptUser) { - res = PlayniteApi.Dialogs.ShowMessage($"Delete {toRemove.Count()} library entries?", "Confirm deletion", System.Windows.MessageBoxButton.YesNo); + res = PlayniteApi.Dialogs.ShowMessage($"Delete {toRemove.Count()} library entries?\n\n(This may take a while, during while Playnite will seem frozen.)", "Confirm deletion", System.Windows.MessageBoxButton.YesNo); } else { @@ -224,7 +224,7 @@ private void RemoveSuperUninstalledGames(bool promptUser, CancellationToken ct) PlayniteApi.Database.Games.Remove(toRemove); } } - else + else if (!promptUser) { PlayniteApi.Dialogs.ShowMessage("Nothing to do."); }