aboutsummaryrefslogtreecommitdiff
path: root/components/LineEdit.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/LineEdit.qml')
-rw-r--r--components/LineEdit.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/LineEdit.qml b/components/LineEdit.qml
index f1e275f2..49eee0b1 100644
--- a/components/LineEdit.qml
+++ b/components/LineEdit.qml
@@ -29,6 +29,7 @@
import QtQuick 2.0
Item {
+ id: item
property alias placeholderText: input.placeholderText
property alias text: input.text
property alias validator: input.validator
@@ -36,7 +37,7 @@ Item {
property alias cursorPosition: input.cursorPosition
property int fontSize: 18
property bool error: false
-
+ signal editingFinished()
height: 37
@@ -67,5 +68,6 @@ Item {
anchors.leftMargin: 4
anchors.rightMargin: 30
font.pixelSize: parent.fontSize
+ onEditingFinished: item.editingFinished()
}
}