diff --git a/src/gui/MainPane/BottomBar.qml b/src/gui/MainPane/BottomBar.qml index a4a0ba1b..85f194ec 100644 --- a/src/gui/MainPane/BottomBar.qml +++ b/src/gui/MainPane/BottomBar.qml @@ -55,6 +55,10 @@ Rectangle { if (window.settings.clearRoomFilterOnEnter) text = "" } + Keys.onMenuPressed: + if (roomList.currentItem) + roomList.currentItem.doRightClick(false) + Keys.onEscapePressed: { mainPane.toggleFocus() if (window.settings.clearRoomFilterOnEscape) text = "" diff --git a/src/gui/Pages/Chat/RoomPane/MemberView/MemberView.qml b/src/gui/Pages/Chat/RoomPane/MemberView/MemberView.qml index a856c899..909206f0 100644 --- a/src/gui/Pages/Chat/RoomPane/MemberView/MemberView.qml +++ b/src/gui/Pages/Chat/RoomPane/MemberView/MemberView.qml @@ -43,6 +43,9 @@ HColumnLayout { currentItem.leftClicked() currentItem.clicked() } + + Keys.onMenuPressed: + if (currentItem) currentItem.doRightClick(false) } Layout.fillWidth: true