mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Use IsEnterpriseVersion in Toolbox
CURA-6569
This commit is contained in:
parent
792c365e9e
commit
8baa009f1f
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ class Toolbox(QObject, Extension):
|
|||
def _restart(self):
|
||||
self._updateRequestHeader()
|
||||
# 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")
|
||||
else:
|
||||
self.setViewPage("loading")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue