summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@digia.com>2013-11-25 11:31:23 +0100
committerThomas Hartmann <Thomas.Hartmann@digia.com>2013-11-25 11:32:25 +0100
commit542cee75606c59d9e17f6ce031913916ca244803 (patch)
treebf0694e472e7924cea0d898685779d41a1e676e1
parent2781ae2f2ecf83125c3c74c947d246b67437edd1 (diff)
downloadqt-creator-542cee75606c59d9e17f6ce031913916ca244803.tar.gz
QmlDesigner.PropertyEditor: using onEditingFinished
Change-Id: I2e6097ebb1e6265eeef7ee6b65e34945fdc83213 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
-rw-r--r--share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/LineEdit.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/LineEdit.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/LineEdit.qml
index 11b128b069..8e7cab2d88 100644
--- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/LineEdit.qml
+++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/LineEdit.qml
@@ -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;
}