diff options
| -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 |
