Ensure that text isn't formatted in context menu

This commit is contained in:
Tobias Fella
2022-07-09 23:01:13 +02:00
parent 27e660178e
commit 2bcd7118f4
5 changed files with 18 additions and 6 deletions

View File

@@ -25,12 +25,12 @@ TimelineContainer {
TapHandler {
acceptedButtons: Qt.RightButton
onTapped: openMessageContext(model, parent.selectedText)
onTapped: openMessageContext(model, parent.selectedText, Controller.plainText(parent.textDocument))
}
TapHandler {
acceptedButtons: Qt.LeftButton
onLongPressed: openMessageContext(model, parent.selectedText)
onLongPressed: openMessageContext(model, parent.selectedText, Controller.plainText(parent.textDocument))
}
}
}