From 0035c359ce97bf5975e19fd519f5852a40967bd7 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Tue, 13 Dec 2022 03:57:32 +0100 Subject: [PATCH] Disable keyboard selection for text by default --- resources/qml/MatrixText.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/qml/MatrixText.qml b/resources/qml/MatrixText.qml index 69eb7cdb..8af66e9b 100644 --- a/resources/qml/MatrixText.qml +++ b/resources/qml/MatrixText.qml @@ -15,8 +15,10 @@ TextEdit { textFormat: TextEdit.RichText readOnly: true focus: false + activeFocusOnPress: false wrapMode: Text.Wrap selectByMouse: !Settings.mobileMode + selectByKeyboard: false // this always has to be enabled, otherwise you can't click links anymore! //enabled: selectByMouse color: Nheko.colors.text