Fix report message dialog

This commit is contained in:
Nicolas Werner 2024-01-29 01:02:55 +01:00
parent 15a3a2731d
commit 2245667f2c
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -526,7 +526,7 @@ Item {
text: qsTr("Report message") text: qsTr("Report message")
enabled: visible enabled: visible
onTriggered: function () { onTriggered: function () {
var dialog = reportDialog.createObject(timelineRoot, {"eventId": messageContextMenu.eventId}); var dialog = reportDialog.createObject(timelineRoot, {"eventId": messageContextMenuC.eventId});
dialog.show(); dialog.show();
dialog.forceActiveFocus(); dialog.forceActiveFocus();
timelineRoot.destroyOnClose(dialog); timelineRoot.destroyOnClose(dialog);