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
|
id: timer
|
||||||
interval: 400 // Milliseconds
|
interval: 400 // Milliseconds
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
FocusController.pushRootObject(root)
|
if (!GC.isMobile()) {
|
||||||
FocusController.setFocusItem(closeButton)
|
FocusController.setFocusItem(closeButton)
|
||||||
|
FocusController.pushRootObject(root)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
repeat: false // Stop the timer after one trigger
|
repeat: false // Stop the timer after one trigger
|
||||||
running: !GC.isMobile() // Start the timer
|
running: !GC.isMobile() // Start the timer
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue