Commit 7819f4e1 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: fixes for LineEdit.qml - avoids warnings

This also fixes BAUHAUS-613
parent a7aed8cb
......@@ -58,7 +58,13 @@ QWidget {
width: lineEdit.width
height: lineEdit.height
text: (backendValue === undefined || backendValue.value === undefined) ? "" : backendValue.value
property string valueFromBackend: (backendValue === undefined || backendValue.value === undefined) ? "" : backendValue.value;
onValueFromBackendChanged: {
if (backendValue.value === undefined)
return;
text = backendValue.value;
}
onEditingFinished: {
backendValue.value = text
......
Supports Markdown
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