mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 23:46:22 -06:00
Use author icon if no package icon known.
part of CURA-8562
This commit is contained in:
parent
64dba8374a
commit
b98e0d1753
1 changed files with 2 additions and 0 deletions
|
@ -43,6 +43,8 @@ class PackageModel(QObject):
|
|||
author_data = package_data.get("author", {})
|
||||
self._author_name = author_data.get("display_name", catalog.i18nc("@label:property", "Unknown Author"))
|
||||
self._author_info_url = author_data.get("website", "")
|
||||
if not self._icon_url or self._icon_url == "":
|
||||
self._icon_url = author_data.get("icon_url", "")
|
||||
|
||||
self._section_title = section_title
|
||||
# Note that there's a lot more info in the package_data than just these specified here.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue