mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-18 14:55:54 +08:00
Add missing action for button
CURA-8561
This commit is contained in:
parent
183fa06cfe
commit
07e9237d72
@ -27,7 +27,6 @@ class PackageModel(QObject):
|
||||
"""
|
||||
super().__init__(parent)
|
||||
self._package_id = package_data.get("package_id", "UnknownPackageId")
|
||||
|
||||
self._icon_url = package_data.get("icon_url", "")
|
||||
self._display_name = package_data.get("display_name", catalog.i18nc("@label:property", "Unknown Package"))
|
||||
self._is_verified = "verified" in package_data.get("tags", [])
|
||||
|
@ -170,6 +170,7 @@ Rectangle
|
||||
color: externalLinkButton.hovered ? UM.Theme.getColor("action_button_hovered"): "transparent"
|
||||
radius: externalLinkButton.width / 2
|
||||
}
|
||||
onClicked: Qt.openUrlExternally(packageData.authorInfoUrl)
|
||||
}
|
||||
|
||||
}
|
||||
@ -245,7 +246,6 @@ Rectangle
|
||||
textFont: descriptionLabel.font
|
||||
isIconOnRightSide: true
|
||||
|
||||
// NOTE: Is this the right URL for this action?
|
||||
onClicked: Qt.openUrlExternally(packageData.packageInfoUrl)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user