Allow download window to be closed on failed downloads.
This commit is contained in:
@@ -113,6 +113,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
|||||||
progressBar.Percentage = 100;
|
progressBar.Percentage = 100;
|
||||||
getStatusText = () => "Error: " + s;
|
getStatusText = () => "Error: " + s;
|
||||||
retryButton.IsVisible = () => true;
|
retryButton.IsVisible = () => true;
|
||||||
|
cancelButton.OnClick = Ui.CloseWindow;
|
||||||
});
|
});
|
||||||
|
|
||||||
Action<AsyncCompletedEventArgs> onDownloadComplete = i =>
|
Action<AsyncCompletedEventArgs> onDownloadComplete = i =>
|
||||||
|
|||||||
Reference in New Issue
Block a user