update popup

This commit is contained in:
Cyril Anisimov 2024-11-04 00:11:01 +01:00
parent d956be901d
commit 0620b4536a

View file

@ -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