This commit is contained in:
Black Hat
2018-10-01 10:08:07 +08:00
parent 56b820e1a8
commit 0654a8b2b6
5 changed files with 8 additions and 3 deletions

View File

@@ -17,6 +17,7 @@ Control {
onSecondaryClicked: {
messageContextMenu.row = messageRow
messageContextMenu.model = model
messageContextMenu.selectedText = contentLabel.selectedText
messageContextMenu.popup()
}
}

View File

@@ -72,6 +72,8 @@ RowLayout {
TextEdit {
Layout.fillWidth: true
id: contentLabel
text: (highlighted ? "<style>a{color: white;} .user-pill{color: white}</style>" : "<style>a{color: " + Material.accent + ";} .user-pill{color: " + Material.accent + "}</style>") + display
visible: isText