diff --git a/resources/qml/delegates/Reply.qml b/resources/qml/delegates/Reply.qml index 1b1be34510bd95a990006a75fd9ed7686d4af77c..90013de93b349b2917f1675893afec91b3d91967 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 }