diff --git a/OpenRA.Mods.Common/Widgets/Logic/Installation/DownloadPackageLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Installation/DownloadPackageLogic.cs index 3aaf2f8099..c7805e6975 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Installation/DownloadPackageLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Installation/DownloadPackageLogic.cs @@ -113,6 +113,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic progressBar.Percentage = 100; getStatusText = () => "Error: " + s; retryButton.IsVisible = () => true; + cancelButton.OnClick = Ui.CloseWindow; }); Action onDownloadComplete = i =>