Skip to content

Commit

Permalink
Tweak messaging on uninstall-missing-source games feature
Browse files Browse the repository at this point in the history
  • Loading branch information
psychonic committed Jul 7, 2023
1 parent 46a9a0c commit 5688227
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EmuLibrary/EmuLibrary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -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.");
}
Expand Down

0 comments on commit 5688227

Please sign in to comment.