Add custom ColorDialog.qml with simple hex value selector.

Cura-8681
This commit is contained in:
j.delarago 2022-02-10 17:28:29 +01:00
parent 2e1f2a37a3
commit 9bad66b6ce

View File

@ -217,7 +217,7 @@ Item
// popup dialog to select a new color // popup dialog to select a new color
// if successful it sets the properties.color_code value to the new color // if successful it sets the properties.color_code value to the new color
ColorDialog UM.ColorDialog
{ {
id: colorDialog id: colorDialog
color: properties.color_code color: properties.color_code
@ -569,6 +569,11 @@ Item
} }
} }
function getMetaDataEntry(entry_name)
{
return
}
function setMaterialPreferenceValue(material_guid, entry_name, new_value) function setMaterialPreferenceValue(material_guid, entry_name, new_value)
{ {
if(!(material_guid in materialPreferenceValues)) if(!(material_guid in materialPreferenceValues))