From ea8bc5b56d75f4e8fad88f4e85b9f38f0a37d5bb Mon Sep 17 00:00:00 2001 From: "moneromooo.monero" Date: Mon, 16 Jan 2017 21:56:15 +0000 Subject: [PATCH] LineEdit: forward editingFinished signal --- components/LineEdit.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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() } }