QmlDesigner.PropertyEditor: Fix for LineEdit if editing a gradient

Change-Id: I7f83d7736b7dd0268420612ad1bd0f3b43c8617e
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
Thomas Hartmann
2014-05-20 17:48:55 +02:00
parent 7cd689e7fc
commit 31deb76bd5

View File

@@ -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