diff options
| author | moneromooo.monero <moneromooo.monero@users.noreply.github.com> | 2017-01-16 21:56:15 +0000 |
|---|---|---|
| committer | moneromooo.monero <moneromooo.monero@users.noreply.github.com> | 2017-01-16 21:56:15 +0000 |
| commit | ea8bc5b56d75f4e8fad88f4e85b9f38f0a37d5bb (patch) | |
| tree | 489c6fcd885b32cd2a9fab6c93cb7b615e82c700 /components | |
| parent | d4b3834bcef5a1117089a61957c5536c219389ee (diff) | |
| download | monzero-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.qml | 4 |
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() } } |
