wrap progress bar

This commit is contained in:
choltz95 2016-08-02 01:43:17 -04:00
parent b2858de6ee
commit 89aa0d6415
2 changed files with 12 additions and 3 deletions

View file

@ -103,7 +103,7 @@ class Downloads(QtWidgets.QVBoxLayout):
# add it to the list
download = Download(download_id, total_bytes)
self.downloads[download_id] = download
self.addWidget(download.progress_bar)
self.insertWidget(-1, download.progress_bar)
def update_download(self, download_id, downloaded_bytes):
"""