From aa93186707488bf1df59c94904f0e7019cad6f59 Mon Sep 17 00:00:00 2001 From: Jelle Spijker Date: Thu, 16 Dec 2021 10:34:08 +0100 Subject: [PATCH] Don't show License Dialog when there is no License text Contributes to CURA-8587 --- plugins/Marketplace/PackageList.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Marketplace/PackageList.py b/plugins/Marketplace/PackageList.py index 2fd62156f0..4ba312ea6c 100644 --- a/plugins/Marketplace/PackageList.py +++ b/plugins/Marketplace/PackageList.py @@ -171,7 +171,7 @@ class PackageList(ListModel): package_path = self._to_install[package_id] license_content = self._package_manager.getPackageLicense(package_path) - if not update and license_content is not None: + if not update and license_content is not None and license_content != "": # If installation is not and update, and the packages contains a license then # open dialog, prompting the using to accept the plugin license self._openLicenseDialog(package_id, license_content)