Highlight first item when opening context menu
This commit is contained in:
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()
|
||||||
|
|||||||
Reference in New Issue
Block a user