summaryrefslogtreecommitdiffstats
path: root/resources
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
parent846ff33ed8ab4940e52b329431c61a5aa5109d30 (diff)
Fix scroll to replied to message (somewhat)
Diffstat (limited to 'resources')
-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
}