Fix regression with not selectable text on desktop

Fix: #99
This commit is contained in:
Carl Schwan
2020-12-01 14:57:19 +01:00
parent 1296a688eb
commit c847d3d5c9

View File

@@ -255,7 +255,7 @@ Kirigami.ScrollablePage {
Layout.fillWidth: true Layout.fillWidth: true
Layout.maximumWidth: messageListView.width Layout.maximumWidth: messageListView.width
mouseArea: MouseArea { mouseArea: MouseArea {
acceptedButtons: Qt.LeftButton | Qt.RightButton acceptedButtons: (Kirigami.Settings.isMobile ? Qt.LeftButton : 0) | Qt.RightButton
anchors.fill: parent anchors.fill: parent
onClicked: { onClicked: {
if (mouse.button == Qt.RightButton) { if (mouse.button == Qt.RightButton) {