diff --git a/src/StatusQ/Components/StatusMessage.qml b/src/StatusQ/Components/StatusMessage.qml index 8fc4add8..1122132f 100644 --- a/src/StatusQ/Components/StatusMessage.qml +++ b/src/StatusQ/Components/StatusMessage.qml @@ -214,6 +214,7 @@ Rectangle { visible: active sourceComponent: StatusMessageReply { replyDetails: root.replyDetails + profileClickable: root.profileClickable onReplyProfileClicked: root.replyProfileClicked(sender, mouse) audioMessageInfoText: root.audioMessageInfoText } diff --git a/src/StatusQ/Components/private/statusMessage/StatusMessageReply.qml b/src/StatusQ/Components/private/statusMessage/StatusMessageReply.qml index efa686eb..888a0f53 100644 --- a/src/StatusQ/Components/private/statusMessage/StatusMessageReply.qml +++ b/src/StatusQ/Components/private/statusMessage/StatusMessageReply.qml @@ -12,6 +12,7 @@ Item { property StatusMessageDetails replyDetails property string audioMessageInfoText: "" + property bool profileClickable: true signal replyProfileClicked(var sender, var mouse) @@ -61,9 +62,10 @@ Item { asset: replyDetails.sender.profileImage.assetSettings ringSettings: replyDetails.sender.profileImage.ringSettings MouseArea { - cursorShape: Qt.PointingHandCursor + cursorShape: enabled ? Qt.PointingHandCursor : Qt.ArrowCursor acceptedButtons: Qt.LeftButton | Qt.RightButton anchors.fill: parent + enabled: root.profileClickable onClicked: replyProfileClicked(this, mouse) } }