mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Use display_name for the package name in the license dialog
Implemented for both CloudSync and Toolbox
This commit is contained in:
parent
95def2850d
commit
a02e8d3b58
2 changed files with 3 additions and 2 deletions
|
@ -675,7 +675,7 @@ class Toolbox(QObject, Extension):
|
|||
if license_content is not None:
|
||||
# get the icon url for package_id, make sure the result is a string, never None
|
||||
icon_url = next((x["icon_url"] for x in self.packagesModel.items if x["id"] == package_id), None) or ""
|
||||
self.openLicenseDialog(package_id, license_content, file_path, icon_url)
|
||||
self.openLicenseDialog(package_info["display_name"], license_content, file_path, icon_url)
|
||||
return
|
||||
|
||||
installed_id = self.install(file_path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue