summary refs log tree commit diff
path: root/resources/qml/delegates/Reply.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-05-05 23:43:28 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2020-05-05 23:43:28 +0200
commitca5490074accd61682b9cf11d92914e21efbc35e (patch)
tree7435e82bfc9e0194588df3293970f3ca1ddec3c9 /resources/qml/delegates/Reply.qml
parentPosition reaction emoji and text on the same baseline (diff)
downloadnheko-ca5490074accd61682b9cf11d92914e21efbc35e.tar.xz
Fix scroll to replied to message (somewhat)
Diffstat (limited to 'resources/qml/delegates/Reply.qml')
-rw-r--r--resources/qml/delegates/Reply.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/delegates/Reply.qml b/resources/qml/delegates/Reply.qml
index 1b1be345..90013de9 100644
--- a/resources/qml/delegates/Reply.qml
+++ b/resources/qml/delegates/Reply.qml
@@ -15,7 +15,7 @@ Item {
 	MouseArea {
 		anchors.fill: parent
 		preventStealing: true
-		onClicked: chat.positionViewAtIndex(chat.model.idToIndex(timelineManager.replyingEvent), ListView.Contain)
+		onClicked: chat.positionViewAtIndex(chat.model.idToIndex(modelData.id), ListView.Contain)
 		cursorShape: Qt.PointingHandCursor
 	}