diff options
| author | Michael <[email protected]> | 2017-02-09 18:37:53 -0500 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-02-09 18:37:53 -0500 |
| commit | 8b0e4f34b1d3dfce6e3f956eef3e1654fdb3594f (patch) | |
| tree | e3c339f92fda31618e004cc8edbdb89b88335a5a /ShiftOS.WinForms/DownloadControl.cs | |
| parent | c544e4081d53bcd888c8fce459c7e02f8516f5a8 (diff) | |
| download | shiftos_thereturn-8b0e4f34b1d3dfce6e3f956eef3e1654fdb3594f.tar.gz shiftos_thereturn-8b0e4f34b1d3dfce6e3f956eef3e1654fdb3594f.tar.bz2 shiftos_thereturn-8b0e4f34b1d3dfce6e3f956eef3e1654fdb3594f.zip | |
Possible download manager fix.
Diffstat (limited to 'ShiftOS.WinForms/DownloadControl.cs')
| -rw-r--r-- | ShiftOS.WinForms/DownloadControl.cs | 2 |
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 |
