Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cura/UI
diff options
context:
space:
mode:
authorj.spijker@ultimaker.com <jelle spijker>2022-04-14 11:01:37 +0300
committerJelle Spijker <spijker.jelle@gmail.com>2022-04-14 11:01:37 +0300
commit52a6da2d8f1c546c06cad61f7489a0749400edac (patch)
treea0223e4bf0e02d996ecfa90607d31e9bb7551a56 /cura/UI
parentaef483018c711228208415be0b41d18c46df7deb (diff)
Use minus sign for extra version info
Contributes to CURA-8640
Diffstat (limited to 'cura/UI')
-rw-r--r--cura/UI/CuraSplashScreen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cura/UI/CuraSplashScreen.py b/cura/UI/CuraSplashScreen.py
index d29502ae39..331fb2e880 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, f"{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()