re-show the 'No downloads yet' label when resetting the counters (e.g starting a new share)

This commit is contained in:
Miguel Jacq 2018-02-27 18:20:05 +11:00
parent 8961bd1ed0
commit fffc420cb1
No known key found for this signature in database
GPG Key ID: EEA4341C6D97A0B6

View File

@ -694,6 +694,7 @@ class OnionShareGui(QtWidgets.QMainWindow):
self.update_downloads_completed(0)
self.update_downloads_in_progress(0)
self.info_show_downloads.setIcon(QtGui.QIcon(common.get_resource_path('images/download_window_gray.png')))
self.downloads.no_downloads_label.show()
def update_downloads_completed(self, count):
"""