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
|
# TODO
|
||||||
|
|
||||||
- event menu key right click
|
- focus first item in menu if opened by kb
|
||||||
- composer menu?
|
- composer menu?
|
||||||
- fix members not synced bug
|
- fix members not synced bug
|
||||||
- fix local unread counters order
|
- fix local unread counters order
|
||||||
|
|
|
@ -175,6 +175,11 @@ HTextArea {
|
||||||
|
|
||||||
Keys.onEnterPressed: ev => Keys.returnPressed(ev)
|
Keys.onEnterPressed: ev => Keys.returnPressed(ev)
|
||||||
|
|
||||||
|
Keys.onMenuPressed: ev => {
|
||||||
|
if (eventList && eventList.currentItem)
|
||||||
|
eventList.currentItem.openContextMenu()
|
||||||
|
}
|
||||||
|
|
||||||
Keys.onTabPressed: ev => {
|
Keys.onTabPressed: ev => {
|
||||||
ev.accepted = true
|
ev.accepted = true
|
||||||
textArea.insertAtCursor(indent)
|
textArea.insertAtCursor(indent)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user