Browse Source

Don't show license Screen when there are no licenses to show

CURA-7198
Nino van Hooff 5 years ago
parent
commit
050ff62344
1 changed files with 4 additions and 0 deletions
  1. 4 0
      plugins/Toolbox/src/CloudSync/LicensePresenter.py

+ 4 - 0
plugins/Toolbox/src/CloudSync/LicensePresenter.py

@@ -43,6 +43,10 @@ class LicensePresenter(QObject):
 
         self._initState(packages)
 
+        if self._page_count == 0:
+            self.licenseAnswers.emit(self._package_models)
+            return
+
         if self._dialog is None:
 
             context_properties = {