Skip to content
Snippets Groups Projects
Commit 0937f083 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

textmessagedelegate: add context menu support for selectedText

GitLab: #601
Change-Id: Ic1ed7d2b724a04281973e974a787a680fbd26387
parent 28f92267
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,20 @@ SBSMessageBase {
color: isOutgoing ?
JamiTheme.messageOutTxtColor :
JamiTheme.messageInTxtColor
TapHandler {
acceptedButtons: Qt.RightButton
onTapped: function onTapped(eventPoint) {
ctxMenu.openMenuAt(eventPoint.position)
}
}
LineEditContextMenu {
id: ctxMenu
lineEditObj: parent
selectOnly: parent.readOnly
}
},
Loader {
id: extraContent
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment