From 19190457192989768e3ee5698f4dccc4395b6ce1 Mon Sep 17 00:00:00 2001 From: Paul Hebble Date: Sat, 13 Apr 2019 06:36:53 +0000 Subject: [PATCH] Don't apply previous change set to checkboxes after successful install --- GUI/MainInstall.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GUI/MainInstall.cs b/GUI/MainInstall.cs index a1fb291def..58037964e1 100644 --- a/GUI/MainInstall.cs +++ b/GUI/MainInstall.cs @@ -364,7 +364,7 @@ private void PostInstallMods(object sender, RunWorkerCompletedEventArgs e) if (result.Key && !installCanceled) { // Rebuilds the list of GUIMods - UpdateModsList(false, result.Value); + UpdateModsList(false, null); if (modChangedCallback != null) { @@ -381,11 +381,11 @@ private void PostInstallMods(object sender, RunWorkerCompletedEventArgs e) RetryCurrentActionButton.Visible = false; UpdateChangesDialog(null, installWorker); } - else if(installCanceled) + else if (installCanceled) { // User cancelled the installation // Rebuilds the list of GUIMods - UpdateModsList(false, result.Value); + UpdateModsList(false, ChangeSet); UpdateChangesDialog(null, installWorker); if (result.Key) { FailWaitDialog("Cancellation to late, process complete!", "User canceled the process manually, but all mods already (un)installed/upgraded.", "Process complete!", result.Key);