diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-01-28 15:24:56 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-01-28 15:24:56 +0100 |
commit | f28013dc181e279b6659484c7b4a46746fbd2eb3 (patch) | |
tree | 8db3d471a14383c0a21ed1bb14d59800554381a9 /resources/qml/MatrixTextField.qml | |
parent | Remove some unused functions (diff) | |
download | nheko-f28013dc181e279b6659484c7b4a46746fbd2eb3.tar.xz |
Port registration to Qml
Diffstat (limited to 'resources/qml/MatrixTextField.qml')
-rw-r--r-- | resources/qml/MatrixTextField.qml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/resources/qml/MatrixTextField.qml b/resources/qml/MatrixTextField.qml index 655d53f1..05f2c82f 100644 --- a/resources/qml/MatrixTextField.qml +++ b/resources/qml/MatrixTextField.qml @@ -21,6 +21,14 @@ ColumnLayout { property alias echoMode: input.echoMode property alias selectByMouse: input.selectByMouse + Timer { + id: timer + interval: 350 + onTriggered: editingFinished() + } + + onTextChanged: timer.restart() + signal textEdited signal accepted signal editingFinished |