diff options
author | link2xt <link2xt@testrun.org> | 2021-03-01 00:27:46 +0300 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-03-01 00:27:46 +0300 |
commit | 768712e2536969e44d900aca5e28618218abb590 (patch) | |
tree | 1557da70887786459a113c6f2d99dfa5e283ca66 | |
parent | d9bc25803d66915a45288787a3b90b1119db696e (diff) | |
download | kdeltachat-768712e2536969e44d900aca5e28618218abb590.tar.gz kdeltachat-768712e2536969e44d900aca5e28618218abb590.zip |
chatlist: do not intercept left button
It makes hard to select chat.
Something should be done on mobile platforms without RMB later.
-rw-r--r-- | qml/ChatlistPage.qml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/qml/ChatlistPage.qml b/qml/ChatlistPage.qml index 7b7aeff..98fd19c 100644 --- a/qml/ChatlistPage.qml +++ b/qml/ChatlistPage.qml @@ -144,15 +144,11 @@ Kirigami.Page { MouseArea { anchors.fill: parent - acceptedButtons: Qt.LeftButton | Qt.RightButton + acceptedButtons: Qt.RightButton onClicked: { if (mouse.button === Qt.RightButton) contextMenu.popup() } - onPressAndHold: { - if (mouse.source === Qt.MouseEventNotSynthesized) - contextMenu.popup() - } Menu { id: contextMenu |