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