diff --git a/resources/qml/MatrixTextField.qml b/resources/qml/MatrixTextField.qml index 05f2c82f5f1c2ec4a356ef7852f22e9d868be503..fec3f6b454fd5ab8b49ce8eedc9e5ed8f5090726 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