From 9bad66b6ce5ed226aad3f8aa00cbc80848423a9e Mon Sep 17 00:00:00 2001 From: "j.delarago" Date: Thu, 10 Feb 2022 17:28:29 +0100 Subject: [PATCH] Add custom ColorDialog.qml with simple hex value selector. Cura-8681 --- resources/qml/Preferences/Materials/MaterialsView.qml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/resources/qml/Preferences/Materials/MaterialsView.qml b/resources/qml/Preferences/Materials/MaterialsView.qml index 14890b2d9f..1706487bd0 100644 --- a/resources/qml/Preferences/Materials/MaterialsView.qml +++ b/resources/qml/Preferences/Materials/MaterialsView.qml @@ -217,7 +217,7 @@ Item // popup dialog to select a new color // if successful it sets the properties.color_code value to the new color - ColorDialog + UM.ColorDialog { id: colorDialog color: properties.color_code @@ -569,6 +569,11 @@ Item } } + function getMetaDataEntry(entry_name) + { + return + } + function setMaterialPreferenceValue(material_guid, entry_name, new_value) { if(!(material_guid in materialPreferenceValues))