fix(MessageView): Fixing Add reaction popup regressions

The popup parent was being destroyed after popup creation.
This commit is contained in:
Alex Jbanca 2023-01-16 13:13:33 +02:00 committed by Alex Jbanca
parent 368fa21b1a
commit b591254782
1 changed files with 1 additions and 1 deletions

View File

@ -737,7 +737,7 @@ Loader {
tooltip.text: qsTr("Add reaction")
onClicked: {
d.setMessageActive(root.messageId, true)
root.messageClickHandler(this, Qt.point(mouse.x, mouse.y), false, false, false, null, true, false)
root.messageClickHandler(delegate, mapToItem(delegate, mouse.x, mouse.y), false, false, false, null, true, false)
}
}
},