From 050ff62344ead34c92acb87473f6cdc67e64686f Mon Sep 17 00:00:00 2001 From: Nino van Hooff Date: Fri, 7 Feb 2020 13:47:15 +0100 Subject: [PATCH] Don't show license Screen when there are no licenses to show CURA-7198 --- plugins/Toolbox/src/CloudSync/LicensePresenter.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/Toolbox/src/CloudSync/LicensePresenter.py b/plugins/Toolbox/src/CloudSync/LicensePresenter.py index 9e0a888320..5d70fe7d29 100644 --- a/plugins/Toolbox/src/CloudSync/LicensePresenter.py +++ b/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 = {