aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-02-09 18:37:53 -0500
committerMichael <[email protected]>2017-02-09 18:37:53 -0500
commit8b0e4f34b1d3dfce6e3f956eef3e1654fdb3594f (patch)
treee3c339f92fda31618e004cc8edbdb89b88335a5a
parentc544e4081d53bcd888c8fce459c7e02f8516f5a8 (diff)
downloadshiftos_thereturn-8b0e4f34b1d3dfce6e3f956eef3e1654fdb3594f.tar.gz
shiftos_thereturn-8b0e4f34b1d3dfce6e3f956eef3e1654fdb3594f.tar.bz2
shiftos_thereturn-8b0e4f34b1d3dfce6e3f956eef3e1654fdb3594f.zip
Possible download manager fix.
-rw-r--r--ShiftOS.WinForms/DownloadControl.cs2
1 files changed, 2 insertions, 0 deletions
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