Ensure that text isn't formatted in context menu
This commit is contained in:
@@ -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))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user