Commit 2d8f6f37 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: bug fix for Rectangle.border


Task-Nr: QTCREATORBUG-2960
parent 18639ebe
......@@ -112,12 +112,17 @@ GroupBox {
backendColor: backendValues.border_color
property variant backendColorValue: backendValues.border_color.vlaue
property bool backendColorValue: backendValues.border_color.isInModel
enabled: isBaseState || hasBorder
onBackendColorValueChanged: {
if (backendValues.border_color.isInModel)
if (backendValues.border_color.isInModel) {
borderColorBox.setSolidButtonChecked = true;
hasBorder = true;
} else {
borderColorBox.setNoneButtonChecked = true;
hasBorder = false;
}
}
onNoneButtonCheckedChanged: {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment