From c847d3d5c9bed40b16495266b105d1fa56373761 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Tue, 1 Dec 2020 14:57:19 +0100 Subject: [PATCH] Fix regression with not selectable text on desktop Fix: #99 --- imports/NeoChat/Page/RoomPage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imports/NeoChat/Page/RoomPage.qml b/imports/NeoChat/Page/RoomPage.qml index 97aa2d7da..ad646ee79 100644 --- a/imports/NeoChat/Page/RoomPage.qml +++ b/imports/NeoChat/Page/RoomPage.qml @@ -255,7 +255,7 @@ Kirigami.ScrollablePage { Layout.fillWidth: true Layout.maximumWidth: messageListView.width mouseArea: MouseArea { - acceptedButtons: Qt.LeftButton | Qt.RightButton + acceptedButtons: (Kirigami.Settings.isMobile ? Qt.LeftButton : 0) | Qt.RightButton anchors.fill: parent onClicked: { if (mouse.button == Qt.RightButton) {