update popup
This commit is contained in:
parent
d956be901d
commit
0620b4536a
1 changed files with 4 additions and 2 deletions
|
|
@ -47,8 +47,10 @@ Popup {
|
|||
id: timer
|
||||
interval: 400 // Milliseconds
|
||||
onTriggered: {
|
||||
FocusController.pushRootObject(root)
|
||||
FocusController.setFocusItem(closeButton)
|
||||
if (!GC.isMobile()) {
|
||||
FocusController.setFocusItem(closeButton)
|
||||
FocusController.pushRootObject(root)
|
||||
}
|
||||
}
|
||||
repeat: false // Stop the timer after one trigger
|
||||
running: !GC.isMobile() // Start the timer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue