From 03f0f7a81f97ae53c625f55d4964b83d3dae1760 Mon Sep 17 00:00:00 2001 From: alessandro90 Date: Wed, 31 Jul 2019 22:58:27 +0200 Subject: [PATCH] Easier way to change the displayed release version --- src/artemis.py | 3 ++- src/artemis.ui | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/artemis.py b/src/artemis.py index 286307a..ebe0964 100644 --- a/src/artemis.py +++ b/src/artemis.py @@ -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() diff --git a/src/artemis.ui b/src/artemis.ui index 3db4986..4173c19 100644 --- a/src/artemis.ui +++ b/src/artemis.ui @@ -17,7 +17,7 @@ - ARTΣMIS 3.0 + ARTΣMIS