From 8b0e4f34b1d3dfce6e3f956eef3e1654fdb3594f Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 9 Feb 2017 18:37:53 -0500 Subject: [PATCH] Possible download manager fix. --- ShiftOS.WinForms/DownloadControl.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ShiftOS.WinForms/DownloadControl.cs b/ShiftOS.WinForms/DownloadControl.cs index b905167..92e7787 100644 --- a/ShiftOS.WinForms/DownloadControl.cs +++ b/ShiftOS.WinForms/DownloadControl.cs @@ -21,6 +21,8 @@ namespace ShiftOS.WinForms lbshiftneturl.Text = d.ShiftnetUrl; pcicon.Image = FileSkimmerBackend.GetImage(d.Destination); int bytesTransferred = 0; + pgprogress.Maximum = DownloadManager.Downloads[index].Bytes.Length; + pgprogress.Value = DownloadManager.Downloads[index].Progress; DownloadManager.ProgressUpdate += (i, p) => { try