1
0
Fork 0
mirror of synced 2024-06-02 10:44:40 +12:00

Clear Progressbar on download finished

This commit is contained in:
Dummerle 2021-03-15 16:20:07 +01:00
parent 9c4ebcb742
commit df0293a0f1
2 changed files with 6 additions and 1 deletions

View file

@ -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")

View file

@ -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/")