summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-03-30 04:30:09 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-03-30 04:30:09 +0200
commitf9942494d6457ee707d41ef59f33677c55e0aaea (patch)
treef4d338a7233420ff6274cb4eab92e3d1e80ace57 /resources
parentRemove unused ToggleButton (diff)
downloadnheko-f9942494d6457ee707d41ef59f33677c55e0aaea.tar.xz
Fix broken invite dialog
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/MatrixTextField.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/qml/MatrixTextField.qml b/resources/qml/MatrixTextField.qml
index 05f2c82f..fec3f6b4 100644
--- a/resources/qml/MatrixTextField.qml
+++ b/resources/qml/MatrixTextField.qml
@@ -37,6 +37,10 @@ ColumnLayout {
         input.forceActiveFocus();
     }
 
+    function clear() {
+        input.clear();
+    }
+
     ToolTip.delay: Nheko.tooltipDelay
     ToolTip.visible: hover.hovered