-
Bug
-
Resolution: Done
-
P2: Important
-
QDS 2.2 Beta1
-
None
-
QDS 2D - 2021 Week 33/34, QDS 2D - 2021 Week 35/36
When double-clicking on a Rectangle in the form editor you launch a system color picker, if you click cancel full white is assigned to the Rectangle instead of canceling. This only happens when the Rectangle color property has a binding.
void ColorTool::colorDialogRejected()
{
if (m_formEditorItem) {
if (m_oldColor.isValid())
m_formEditorItem->qmlItemNode().setVariantProperty("color", m_oldColor);
else
m_formEditorItem->qmlItemNode().removeProperty("color");
}
view()->changeToSelectionTool();
}