Commit 31deb76b authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.PropertyEditor: Fix for LineEdit if editing a gradient

Change-Id: I7f83d7736b7dd0268420612ad1bd0f3b43c8617e
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 7cd689e7
......@@ -69,8 +69,10 @@ Column {
if (!gradientLine.isCompleted)
return;
if (supportGradient && gradientLine.visible)
if (supportGradient && gradientLine.hasGradient) {
gradientLine.currentColor = color
textField.text = convertColorToString(color)
}
if (buttonRow.checkedIndex !== 1)
//Delay setting the color to keep ui responsive
......
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