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

CURA-7011
This commit is contained in:
Nino van Hooff 2019-12-11 16:25:57 +01:00
parent 2e4ee73d2f
commit 171609f9de

View file

@ -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