aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authormoneromooo.monero <moneromooo.monero@users.noreply.github.com>2017-01-16 21:56:15 +0000
committermoneromooo.monero <moneromooo.monero@users.noreply.github.com>2017-01-16 21:56:15 +0000
commitea8bc5b56d75f4e8fad88f4e85b9f38f0a37d5bb (patch)
tree489c6fcd885b32cd2a9fab6c93cb7b615e82c700 /components
parentd4b3834bcef5a1117089a61957c5536c219389ee (diff)
downloadmonzero-gui-ea8bc5b56d75f4e8fad88f4e85b9f38f0a37d5bb.tar.gz
monzero-gui-ea8bc5b56d75f4e8fad88f4e85b9f38f0a37d5bb.tar.xz
monzero-gui-ea8bc5b56d75f4e8fad88f4e85b9f38f0a37d5bb.zip
LineEdit: forward editingFinished signal
Diffstat (limited to 'components')
-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()
}
}