Clear Progressbar on download finished
This commit is contained in:
parent
9c4ebcb742
commit
df0293a0f1
|
@ -202,6 +202,7 @@ class DownloadTab(QWidget):
|
|||
self.thread.status.connect(self.status)
|
||||
self.thread.statistics.connect(self.statistics)
|
||||
self.thread.start()
|
||||
self.installing_game.setText("Installing Game: " + self.active_game.app_title)
|
||||
|
||||
def sdl_prompt(self, app_name: str = '', title: str = '') -> list:
|
||||
sdl = QDialog()
|
||||
|
@ -257,6 +258,10 @@ class DownloadTab(QWidget):
|
|||
# QMessageBox.information(self, "Info", "Download finished")
|
||||
self.finished.emit()
|
||||
self.installing_game.setText(self.tr("Installing Game: No active download"))
|
||||
self.prog_bar.setValue(0)
|
||||
self.dl_speed.setText("")
|
||||
self.cache_used.setText("")
|
||||
self.downloaded.setText("")
|
||||
elif text == "error":
|
||||
QMessageBox.warning(self, "warn", "Download error")
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import os
|
||||
|
||||
__version__ = "0.9.0.1"
|
||||
__version__ = "0.9.2"
|
||||
style_path = os.path.join(os.path.dirname(__file__), "Styles/")
|
||||
lang_path = os.path.join(os.path.dirname(__file__), "languages/")
|
||||
|
|
Loading…
Reference in a new issue