Browse Source

Refactor: Add "Enterprise" to the app display name.

CURA-7011
Nino van Hooff 5 years ago
parent
commit
171609f9de
1 changed files with 3 additions and 3 deletions
  1. 3 3
      cura/ApplicationMetadata.py

+ 3 - 3
cura/ApplicationMetadata.py

@@ -50,9 +50,9 @@ IsEnterpriseVersion = CuraBuildType.lower() == __ENTERPRISE_VERSION_TYPE
 try:
     from cura.CuraVersion import CuraAppDisplayName  # type: ignore
     if CuraAppDisplayName == "":
+        CuraAppDisplayName = DEFAULT_CURA_DISPLAY_NAME
         if IsEnterpriseVersion:
-            CuraAppDisplayName = DEFAULT_CURA_DISPLAY_NAME + " Enterprise"
-        else:
-            CuraAppDisplayName = DEFAULT_CURA_DISPLAY_NAME
+            CuraAppDisplayName = CuraAppDisplayName + " Enterprise"
+
 except ImportError:
     CuraAppDisplayName = DEFAULT_CURA_DISPLAY_NAME