Add the external link icon to the Upgrade plan button

CURA-8112
This commit is contained in:
Konstantinos Karmas 2021-07-14 14:34:00 +02:00
parent 7027a8f904
commit 016371d771

View file

@ -65,9 +65,10 @@ Item
anchors.verticalCenter: selectProjectLabel.verticalCenter
anchors.right: parent.right
text: "Upgrade plan"
iconSource: UM.Theme.getIcon("LinkExternal")
visible: createNewProjectButtonVisible && !manager.userAccountCanCreateNewLibraryProject && (manager.retrievingProjectsStatus == DF.RetrievalStatus.Success || manager.retrievingProjectsStatus == DF.RetrievalStatus.Failed)
tooltip: "You have reached the maximum number of projects allowed by your subscription. Please upgrade to the Professional subscription to create more projects."
tooltipWidth: parent.width * 3 / 4
tooltipWidth: parent.width * 0.5
onClicked: Qt.openUrlExternally("https://ultimaker.com/software/enterprise-software")
}