Clicking on an reply move the timeline view to the reply

This commit is contained in:
Carl Schwan
2020-11-22 17:54:34 +01:00
parent 7ec6f83bcb
commit 4dedb87efa
3 changed files with 45 additions and 34 deletions

View File

@@ -203,6 +203,7 @@ Kirigami.ScrollablePage {
anchors.fill: parent
onClicked: openMessageContext(author, display, eventId, toolTip);
}
onReplyClicked: goToEvent(eventID)
innerObject: [
TextDelegate {
Layout.fillWidth: true
@@ -225,6 +226,7 @@ Kirigami.ScrollablePage {
innerObject: MessageDelegate {
Layout.fillWidth: true
onReplyClicked: goToEvent(eventID)
innerObject: TextDelegate {
Layout.fillWidth: true
@@ -240,6 +242,7 @@ Kirigami.ScrollablePage {
innerObject: MessageDelegate {
Layout.fillWidth: true
onReplyClicked: goToEvent(eventID)
innerObject: [
ImageDelegate {
@@ -264,6 +267,7 @@ Kirigami.ScrollablePage {
innerObject: MessageDelegate {
Layout.fillWidth: true
onReplyClicked: goToEvent(eventID)
innerObject: AudioDelegate {
Layout.fillWidth: true
@@ -279,6 +283,7 @@ Kirigami.ScrollablePage {
innerObject: MessageDelegate {
Layout.fillWidth: true
onReplyClicked: goToEvent(eventID)
innerObject: AudioDelegate {
Layout.fillWidth: true