Fix copying text

This commit is contained in:
Nicolas Werner 2020-10-24 14:42:18 +02:00
parent 4797b9fa96
commit 53734607cf

View file

@ -7,7 +7,6 @@ TextEdit {
readOnly: true
wrapMode: Text.Wrap
selectByMouse: true
activeFocusOnPress: false
color: colors.text
onLinkActivated: {
if (/^https:\/\/matrix.to\/#\/(@.*)$/.test(link)) {
@ -29,7 +28,6 @@ TextEdit {
id: ma
anchors.fill: parent
propagateComposedEvents: true
acceptedButtons: Qt.NoButton
cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor
}