mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-23 22:29:41 +08:00
Set support page to be opened on core incompatibility
CURA-12393
This commit is contained in:
parent
53f4046a51
commit
686b404a95
@ -166,8 +166,8 @@ Button
|
|||||||
}
|
}
|
||||||
|
|
||||||
mismatchedCores = "<b>" + mismatchedCores + "</b>"
|
mismatchedCores = "<b>" + mismatchedCores + "</b>"
|
||||||
var draftResult = catalog.i18nc("@label", "This configuration is not available because there is a mismatch or other problem with core-type %1. Please visit %2 to check which cores this printer-type supports w.r.t. new slices.");
|
var draftResult = catalog.i18nc("@label", "This configuration is not available because there is a mismatch or other problem with core-type %1. Please visit <a href='%2'>the support page</a> to check which cores this printer-type supports w.r.t. new slices.");
|
||||||
return draftResult.arg(mismatchedCores).arg("<a href=' '>" + catalog.i18nc("@label","WEBSITE") + "</a> ")
|
return draftResult.arg(mismatchedCores).arg("https://support.ultimaker.com/s/article/1667411313529")
|
||||||
}
|
}
|
||||||
|
|
||||||
text:
|
text:
|
||||||
@ -199,9 +199,16 @@ Button
|
|||||||
|
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
|
|
||||||
onLinkActivated:
|
onLinkActivated: (link) =>
|
||||||
{
|
{
|
||||||
Cura.Actions.browsePackages.trigger()
|
if(link.trim().length === 0)
|
||||||
|
{
|
||||||
|
Cura.Actions.browsePackages.trigger();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Qt.openUrlExternally(link);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user