From f9942494d6457ee707d41ef59f33677c55e0aaea Mon Sep 17 00:00:00 2001
From: Nicolas Werner <nicolas.werner@hotmail.de>
Date: Wed, 30 Mar 2022 04:30:09 +0200
Subject: [PATCH] Fix broken invite dialog

---
 resources/qml/MatrixTextField.qml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/resources/qml/MatrixTextField.qml b/resources/qml/MatrixTextField.qml
index 05f2c82f5..fec3f6b45 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
 
-- 
GitLab