diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-05-05 23:43:28 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-05-05 23:43:28 +0200 |
commit | ca5490074accd61682b9cf11d92914e21efbc35e (patch) | |
tree | 7435e82bfc9e0194588df3293970f3ca1ddec3c9 | |
parent | Position reaction emoji and text on the same baseline (diff) | |
download | nheko-ca5490074accd61682b9cf11d92914e21efbc35e.tar.xz |
Fix scroll to replied to message (somewhat)
-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 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 } |