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