Merge pull request #16120 from Ultimaker/CURA-10687_Restore_Color_Picker

Color Picker from Qt 6.4
This commit is contained in:
Remco Burema 2023-07-13 13:20:27 +02:00 committed by GitHub
commit f272dda946
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 155 deletions

View file

@ -256,12 +256,12 @@ Item
// popup dialog to select a new color
// if successful it sets the properties.color_code value to the new color
Cura.ColorDialog
ColorDialog
{
id: colorDialog
title: catalog.i18nc("@title", "Material color picker")
color: properties.color_code
onAccepted: base.setMetaDataEntry("color_code", properties.color_code, color)
selectedColor: properties.color_code
onAccepted: base.setMetaDataEntry("color_code", properties.color_code, selectedColor)
}
}
}