diff options
| author | Riccardo Spagni <ric@spagni.net> | 2017-01-22 12:15:55 -0500 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2017-01-22 12:15:55 -0500 |
| commit | 160e5c480ac4feb4994f36cb1749d94feb7f08c9 (patch) | |
| tree | ce7adc610f3e7527faadfe703c97cad27d838675 /components | |
| parent | 32a81517d6a8062f89a2b9fe73ca50106edd1fe1 (diff) | |
| parent | fb8d9bd5dc06152f12a9ce7ec8f5778e9a8d7859 (diff) | |
| download | monzero-gui-160e5c480ac4feb4994f36cb1749d94feb7f08c9.tar.gz monzero-gui-160e5c480ac4feb4994f36cb1749d94feb7f08c9.tar.xz monzero-gui-160e5c480ac4feb4994f36cb1749d94feb7f08c9.zip | |
Merge pull request #413
fb8d9bd Settings: allow setting log categories (moneromooo.monero)
ea8bc5b LineEdit: forward editingFinished signal (moneromooo.monero)
d4b3834 Build against monero with new logging system (moneromooo.monero)
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() } } |
