Fix scroll to replied to message (somewhat)

This commit is contained in:
Nicolas Werner 2020-05-05 23:43:28 +02:00
parent 846ff33ed8
commit ca5490074a

View file

@ -15,7 +15,7 @@ Item {
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
preventStealing: true 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 cursorShape: Qt.PointingHandCursor
} }