fix: ensure cursor is changed when hovering a link

This commit is contained in:
hydrogen 2020-12-06 04:29:23 +02:00 committed by Iuri Matias
parent dacbadbed1
commit 3951d0fff5
1 changed files with 5 additions and 0 deletions

View File

@ -56,6 +56,11 @@ Item {
Qt.openUrlExternally(link)
}
onLinkHovered: {
cursorShape: Qt.PointingHandCursor
}
text: {
if(contentType === Constants.stickerType) return "";
let msg = Utils.linkifyAndXSS(message);