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
|
# TODO
|
||||||
|
|
||||||
- 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
|
||||||
|
|
|
@ -35,6 +35,7 @@ Menu {
|
||||||
onOpened: {
|
onOpened: {
|
||||||
window.visibleMenus[uuid] = this
|
window.visibleMenus[uuid] = this
|
||||||
window.visibleMenusChanged()
|
window.visibleMenusChanged()
|
||||||
|
menu.currentIndex = 0
|
||||||
}
|
}
|
||||||
onClosed: {
|
onClosed: {
|
||||||
if (focusOnClosed) focusOnClosed.forceActiveFocus()
|
if (focusOnClosed) focusOnClosed.forceActiveFocus()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user