add focus navigation to qml
This commit is contained in:
parent
cecee3769e
commit
01e31b4b4d
23 changed files with 103 additions and 196 deletions
|
|
@ -37,11 +37,11 @@ DrawerType2 {
|
|||
target: root
|
||||
enabled: !GC.isMobile()
|
||||
function onOpened() {
|
||||
FocusController.setRoot(root)
|
||||
FocusController.setRootItem(root)
|
||||
}
|
||||
|
||||
function onClosed() {
|
||||
FocusController.setRoot(null)
|
||||
FocusController.setRootItem(null)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue