Highlight first item when opening context menu
This commit is contained in:
parent
3e92b882c9
commit
9612470c9c
1
TODO.md
1
TODO.md
|
@ -1,6 +1,5 @@
|
|||
# TODO
|
||||
|
||||
- focus first item in menu if opened by kb
|
||||
- composer menu?
|
||||
- fix members not synced bug
|
||||
- fix local unread counters order
|
||||
|
|
|
@ -35,6 +35,7 @@ Menu {
|
|||
onOpened: {
|
||||
window.visibleMenus[uuid] = this
|
||||
window.visibleMenusChanged()
|
||||
menu.currentIndex = 0
|
||||
}
|
||||
onClosed: {
|
||||
if (focusOnClosed) focusOnClosed.forceActiveFocus()
|
||||
|
|
Loading…
Reference in New Issue
Block a user