Details
-
Bug
-
Resolution: Done
-
P2: Important
-
QDS 2.2 Beta1
-
None
-
QDS 2D - 2021 Week 33/34, QDS 2D - 2021 Week 35/36
Description
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(); }
Attachments
For Gerrit Dashboard: QDS-4826 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
368786,3 | QmlDesigner: Fix color dialog removing property | 5.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |