From 3951d0fff555c4457492bf8e3e0c4d16b2951c21 Mon Sep 17 00:00:00 2001 From: hydrogen Date: Sun, 6 Dec 2020 04:29:23 +0200 Subject: [PATCH] fix: ensure cursor is changed when hovering a link --- .../Chat/ChatColumn/MessageComponents/ChatText.qml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/ChatText.qml b/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/ChatText.qml index 146b0b1399..843bd4c6b5 100644 --- a/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/ChatText.qml +++ b/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/ChatText.qml @@ -56,6 +56,11 @@ Item { Qt.openUrlExternally(link) } + + onLinkHovered: { + cursorShape: Qt.PointingHandCursor + } + text: { if(contentType === Constants.stickerType) return ""; let msg = Utils.linkifyAndXSS(message);