Commit 542cee75 authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.PropertyEditor: using onEditingFinished

Change-Id: I2e6097ebb1e6265eeef7ee6b65e34945fdc83213
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 2781ae2f
......@@ -28,7 +28,7 @@
****************************************************************************/
import QtQuick 2.1
import QtQuick 2.2
import QtQuick.Controls 1.1 as Controls
import QtQuick.Controls.Styles 1.0
......@@ -57,7 +57,7 @@ Controls.TextField {
}
}
onAccepted: {
onEditingFinished: {
if (backendValue.value !== text)
backendValue.value = text;
}
......
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