mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Don't show License Dialog when there is no License text
Contributes to CURA-8587
This commit is contained in:
parent
020313da25
commit
aa93186707
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ class PackageList(ListModel):
|
||||||
package_path = self._to_install[package_id]
|
package_path = self._to_install[package_id]
|
||||||
license_content = self._package_manager.getPackageLicense(package_path)
|
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
|
# If installation is not and update, and the packages contains a license then
|
||||||
# open dialog, prompting the using to accept the plugin license
|
# open dialog, prompting the using to accept the plugin license
|
||||||
self._openLicenseDialog(package_id, license_content)
|
self._openLicenseDialog(package_id, license_content)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue