Allow download window to be closed on failed downloads.

This commit is contained in:
RoosterDragon
2016-08-25 07:40:28 +01:00
parent af8bd461c7
commit f1b0740e72

View File

@@ -113,6 +113,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
progressBar.Percentage = 100;
getStatusText = () => "Error: " + s;
retryButton.IsVisible = () => true;
cancelButton.OnClick = Ui.CloseWindow;
});
Action<AsyncCompletedEventArgs> onDownloadComplete = i =>