Clicking on an reply move the timeline view to the reply
This commit is contained in:
@@ -30,6 +30,7 @@ RowLayout {
|
||||
|
||||
signal saveFileAs()
|
||||
signal openExternally()
|
||||
signal replyClicked(string eventID)
|
||||
|
||||
id: root
|
||||
|
||||
@@ -90,9 +91,14 @@ RowLayout {
|
||||
wrapMode: Text.Wrap
|
||||
}
|
||||
Loader {
|
||||
id: replyLoader
|
||||
source: 'qrc:imports/NeoChat/Component/Timeline/ReplyComponent.qml'
|
||||
active: replyVisible
|
||||
}
|
||||
Connections {
|
||||
target: replyLoader.item
|
||||
onClicked: replyClicked(reply.eventId)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user