mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 03:29:00 +08:00
Use IsEnterpriseVersion in Toolbox
CURA-6569
This commit is contained in:
parent
792c365e9e
commit
8baa009f1f
@ -129,7 +129,7 @@ class Toolbox(QObject, Extension):
|
|||||||
def _restart(self):
|
def _restart(self):
|
||||||
self._updateRequestHeader()
|
self._updateRequestHeader()
|
||||||
# For an Essentials build, login is mandatory
|
# For an Essentials build, login is mandatory
|
||||||
if not self._application.getCuraAPI().account.isLoggedIn and ApplicationMetadata.CuraBuildType == "essentials":
|
if not self._application.getCuraAPI().account.isLoggedIn and ApplicationMetadata.IsEnterpriseVersion:
|
||||||
self.setViewPage("welcome")
|
self.setViewPage("welcome")
|
||||||
else:
|
else:
|
||||||
self.setViewPage("loading")
|
self.setViewPage("loading")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user