mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 03:00:46 +03:00
Right click option to go to event while searching
This commit is contained in:
parent
643fc440fd
commit
198e1fc6b9
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue