Right click option to go to event while searching

This commit is contained in:
Sateallia 2023-05-29 15:10:00 +00:00 committed by Nicolas Werner
parent 643fc440fd
commit 198e1fc6b9
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -647,6 +647,16 @@ Item {
}
}
Platform.MenuItem {
visible: topBar.searchString !== ""
enabled: visible
text: qsTr("Go to eve&nt")
onTriggered: function() {
room.showEvent(messageContextMenu.eventId);
topBar.searchString = "";
}
}
Platform.MenuItem {
visible: messageContextMenu.text
enabled: visible