diff options
author | j.spijker@ultimaker.com <jelle spijker> | 2022-04-14 10:38:42 +0300 |
---|---|---|
committer | Jelle Spijker <spijker.jelle@gmail.com> | 2022-04-14 10:38:42 +0300 |
commit | aef483018c711228208415be0b41d18c46df7deb (patch) | |
tree | 728d9ed75e405db01bf7d5e90d5e56a79e5ad883 /cura/UI | |
parent | b3cd1fee09b8140fc71e1e10ec919e6eb0ef2cb6 (diff) |
Fix version on splash screen
Contributes to CURA-8640
Diffstat (limited to 'cura/UI')
-rw-r--r-- | cura/UI/CuraSplashScreen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cura/UI/CuraSplashScreen.py b/cura/UI/CuraSplashScreen.py index a6130e4d00..d29502ae39 100644 --- a/cura/UI/CuraSplashScreen.py +++ b/cura/UI/CuraSplashScreen.py @@ -76,7 +76,7 @@ class CuraSplashScreen(QSplashScreen): if len(version) == 1: painter.drawText(40, 104 + self._version_y_offset, round(330 * self._scale), round(230 * self._scale), Qt.AlignmentFlag.AlignLeft | Qt.AlignmentFlag.AlignTop, version[0] if not ApplicationMetadata.IsAlternateVersion else ApplicationMetadata.CuraBuildType) elif len(version) > 1: - painter.drawText(40, 104 + self._version_y_offset, round(330 * self._scale), round(230 * self._scale), Qt.AlignmentFlag.AlignLeft | Qt.AlignmentFlag.AlignTop, {"version[0]_version[1]"} if not ApplicationMetadata.IsAlternateVersion else ApplicationMetadata.CuraBuildType) + painter.drawText(40, 104 + self._version_y_offset, round(330 * self._scale), round(230 * self._scale), Qt.AlignmentFlag.AlignLeft | Qt.AlignmentFlag.AlignTop, f"{version[0]}_{version[1]}" if not ApplicationMetadata.IsAlternateVersion else ApplicationMetadata.CuraBuildType) # Draw the loading image pen = QPen() |