diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-03-05 03:45:45 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-03-05 03:45:45 +0100 |
commit | df6a5aabb6d77821e72de43de4fe7f490863afe4 (patch) | |
tree | e482ef3cfcbfb2930d62c8f2beaf0f23c1bd3448 /resources | |
parent | c76cda0cbe1368dbf653ad8c50c1b932e69f7c0a (diff) |
Fix clicking on images in replies
fixes #881
Diffstat (limited to 'resources')
-rw-r--r-- | resources/qml/delegates/Reply.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/delegates/Reply.qml b/resources/qml/delegates/Reply.qml index f26bc5aa..f5756390 100644 --- a/resources/qml/delegates/Reply.qml +++ b/resources/qml/delegates/Reply.qml @@ -65,7 +65,7 @@ Item { TapHandler { acceptedButtons: Qt.LeftButton onSingleTapped: { - let link = reply.child.linkAt(eventPoint.position.x, eventPoint.position.y - userName_.implicitHeight); + let link = reply.child.linkAt != undefined && reply.child.linkAt(eventPoint.position.x, eventPoint.position.y - userName_.implicitHeight); if (link) { Nheko.openLink(link) } else { |