Open event context menu on menu keypress
This commit is contained in:
parent
affd0d0bd3
commit
3e92b882c9
2
TODO.md
2
TODO.md
|
@ -1,6 +1,6 @@
|
|||
# TODO
|
||||
|
||||
- event menu key right click
|
||||
- focus first item in menu if opened by kb
|
||||
- composer menu?
|
||||
- fix members not synced bug
|
||||
- fix local unread counters order
|
||||
|
|
|
@ -41,7 +41,7 @@ Rectangle {
|
|||
Layout.fillHeight: true
|
||||
Layout.fillWidth: true
|
||||
|
||||
MessageArea { id: messageArea}
|
||||
MessageArea { id: messageArea }
|
||||
}
|
||||
|
||||
UploadButton {
|
||||
|
|
|
@ -175,6 +175,11 @@ HTextArea {
|
|||
|
||||
Keys.onEnterPressed: ev => Keys.returnPressed(ev)
|
||||
|
||||
Keys.onMenuPressed: ev => {
|
||||
if (eventList && eventList.currentItem)
|
||||
eventList.currentItem.openContextMenu()
|
||||
}
|
||||
|
||||
Keys.onTabPressed: ev => {
|
||||
ev.accepted = true
|
||||
textArea.insertAtCursor(indent)
|
||||
|
|
Loading…
Reference in New Issue
Block a user