forked from qt-creator/qt-creator
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:
@@ -69,8 +69,10 @@ Column {
|
|||||||
if (!gradientLine.isCompleted)
|
if (!gradientLine.isCompleted)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (supportGradient && gradientLine.visible)
|
if (supportGradient && gradientLine.hasGradient) {
|
||||||
gradientLine.currentColor = color
|
gradientLine.currentColor = color
|
||||||
|
textField.text = convertColorToString(color)
|
||||||
|
}
|
||||||
|
|
||||||
if (buttonRow.checkedIndex !== 1)
|
if (buttonRow.checkedIndex !== 1)
|
||||||
//Delay setting the color to keep ui responsive
|
//Delay setting the color to keep ui responsive
|
||||||
|
|||||||
Reference in New Issue
Block a user