mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 14:19:00 +08:00
adding warning to settings not in whitelist
CURA-11403
This commit is contained in:
parent
25b6ccd087
commit
9633a8e9d4
@ -19,7 +19,7 @@ RowLayout
|
||||
Layout.preferredWidth: UM.Theme.getSize("setting").width
|
||||
checked: modelData.selected
|
||||
onClicked: modelData.selected = checked
|
||||
|
||||
tooltip: modelData.selectable ? "" :catalog.i18nc("@tooltip", "This setting may not perform well while exporting in UCP. Users are asked to add it at their own risk")
|
||||
}
|
||||
|
||||
UM.Label
|
||||
@ -30,9 +30,10 @@ RowLayout
|
||||
UM.HelpIcon
|
||||
{
|
||||
UM.I18nCatalog { id: catalog; name: "cura" }
|
||||
|
||||
text: catalog.i18nc("@tooltip",
|
||||
"This setting can't be exported because it depends on the used printer capacities")
|
||||
"This setting may not perform well while exporting in UCP, Users are asked to add it at their own risk")
|
||||
visible: !modelData.selectable
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user