Easier way to change the displayed release version

This commit is contained in:
alessandro90
2019-07-31 22:58:27 +02:00
parent 0cc99f0ac9
commit 03f0f7a81f
2 changed files with 3 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ from utilities import (checksum_ok,
# import default_imgs_rc
__VERSION__ = "3.0.1"
qt_creator_file = resource_path("artemis.ui")
Ui_MainWindow, _ = uic.loadUiType(qt_creator_file)
@@ -60,6 +60,7 @@ class Artemis(QMainWindow, Ui_MainWindow):
"""Set all connections of the application."""
super().__init__()
self.setupUi(self)
self.setWindowTitle("ARTΣMIS " + __VERSION__)
self.set_initial_size()
self.closing = False
self.download_window = DownloadWindow()