diff --git a/plugins/Toolbox/resources/qml/components/ToolboxHeader.qml b/plugins/Toolbox/resources/qml/components/ToolboxHeader.qml index e980a063bf..817134590c 100644 --- a/plugins/Toolbox/resources/qml/components/ToolboxHeader.qml +++ b/plugins/Toolbox/resources/qml/components/ToolboxHeader.qml @@ -80,7 +80,7 @@ Item UM.TooltipArea { - width: childrenRect.width; + width: childrenRect.width height: parent.height text: catalog.i18nc("@info:tooltip", "Go to Web Marketplace") anchors @@ -89,6 +89,7 @@ Item rightMargin: UM.Theme.getSize("default_margin").width verticalCenter: parent.verticalCenter } + onClicked: Qt.openUrlExternally(toolbox.getWebMarketplaceUrl) Image { id: cloudMarketplaceButton @@ -99,11 +100,6 @@ Item sourceSize.width: width sourceSize.height: height fillMode: Image.PreserveAspectFit - MouseArea - { - anchors.fill: parent - onClicked: Qt.openUrlExternally(toolbox.getWebMarketplaceUrl) - } } }