mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Change the URL for redirect when checking material compatibility.
This commit is contained in:
parent
6058f632df
commit
a03a57fd60
1 changed files with 3 additions and 3 deletions
|
@ -524,6 +524,8 @@ Column
|
||||||
source: UM.Theme.getIcon("warning")
|
source: UM.Theme.getIcon("warning")
|
||||||
width: UM.Theme.getSize("section_icon").width
|
width: UM.Theme.getSize("section_icon").width
|
||||||
height: UM.Theme.getSize("section_icon").height
|
height: UM.Theme.getSize("section_icon").height
|
||||||
|
sourceSize.width: width
|
||||||
|
sourceSize.height: height
|
||||||
color: UM.Theme.getColor("material_compatibility_warning")
|
color: UM.Theme.getColor("material_compatibility_warning")
|
||||||
visible: !Cura.MachineManager.isCurrentSetupSupported
|
visible: !Cura.MachineManager.isCurrentSetupSupported
|
||||||
}
|
}
|
||||||
|
@ -545,9 +547,7 @@ Column
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
onClicked: {
|
onClicked: {
|
||||||
// open the material URL with web browser
|
// open the material URL with web browser
|
||||||
var version = UM.Application.version;
|
var url = "https://ultimaker.com/incoming-links/cura/material-compatibilty"
|
||||||
var machineName = Cura.MachineManager.activeMachine.definition.id;
|
|
||||||
var url = "https://ultimaker.com/materialcompatibility/" + version + "/" + machineName + "?utm_source=cura&utm_medium=software&utm_campaign=resources";
|
|
||||||
Qt.openUrlExternally(url);
|
Qt.openUrlExternally(url);
|
||||||
}
|
}
|
||||||
onEntered: {
|
onEntered: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue