Support menu key for room/member lists currentItem
Allow opening context menu for AccountDelegate, RoomDelegate and MemberDelegate by selecting an item with up/down (when focusing filter field) and pressing the menu key.
This commit is contained in:
@@ -43,6 +43,9 @@ HColumnLayout {
|
||||
currentItem.leftClicked()
|
||||
currentItem.clicked()
|
||||
}
|
||||
|
||||
Keys.onMenuPressed:
|
||||
if (currentItem) currentItem.doRightClick(false)
|
||||
}
|
||||
|
||||
Layout.fillWidth: true
|
||||
|
Reference in New Issue
Block a user