Commit e00464d2 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: hide stops label if not editing gradients

before the "stops" label was visible even if gradient editing was
disabled
parent a4e5dd77
......@@ -43,6 +43,7 @@ GroupBox {
layout: VerticalLayout {
QWidget {
visible: colorGroupBox.gradientButtonChecked
layout: HorizontalLayout {
spacing: 2
Label {
......@@ -54,8 +55,7 @@ GroupBox {
id: gradientLine;
activeColor: colorGroupBox.color
itemNode: anchorBackend.itemNode
visible: colorGroupBox.gradientButtonChecked
active: visible
active: colorGroupBox.gradientButtonChecked
}
}
}
......
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