From 9633a8e9d431ea421d01e08cf948cbacb535a52f Mon Sep 17 00:00:00 2001 From: Saumya Jain Date: Fri, 1 Mar 2024 11:53:05 +0100 Subject: [PATCH] adding warning to settings not in whitelist CURA-11403 --- plugins/3MFWriter/SettingSelection.qml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/3MFWriter/SettingSelection.qml b/plugins/3MFWriter/SettingSelection.qml index a50c02f11c..d33f2ef8f0 100644 --- a/plugins/3MFWriter/SettingSelection.qml +++ b/plugins/3MFWriter/SettingSelection.qml @@ -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 } + + }