mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 00:07:51 -06:00
Merge pull request #16120 from Ultimaker/CURA-10687_Restore_Color_Picker
Color Picker from Qt 6.4
This commit is contained in:
commit
f272dda946
2 changed files with 3 additions and 155 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue