mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-14 22:23:23 +08: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
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user