mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-10 12:03:18 +02:00
chatviewfooter: pre-fill with previous body when editing
Change-Id: Ie2784a689bac5442198bbcfdaed54ff75de4003f GitLab: #870
This commit is contained in:
parent
90ae50ee5f
commit
61b2bfdee7
1 changed files with 5 additions and 1 deletions
|
@ -83,8 +83,12 @@ Rectangle {
|
|||
}
|
||||
|
||||
function onEditIdChanged() {
|
||||
if (MessagesAdapter.editId.length > 0)
|
||||
if (MessagesAdapter.editId.length > 0) {
|
||||
var editedMessageBody = MessagesAdapter.dataForInteraction(MessagesAdapter.editId, MessageList.Body)
|
||||
messageBar.textAreaObj.insertText(editedMessageBody)
|
||||
messageBar.textAreaObj.forceActiveFocus()
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
function onReplyToIdChanged() {
|
||||
|
|
Loading…
Add table
Reference in a new issue