slight delay for opening
This commit is contained in:
parent
4c2e802a7d
commit
6d118bdbeb
@ -64,7 +64,8 @@ Item {
|
||||
|
||||
function open()
|
||||
{
|
||||
dialog.state = ""
|
||||
status = DialogStatus.Opening
|
||||
delayOpenTimer.restart()
|
||||
}
|
||||
|
||||
function accept()
|
||||
@ -103,6 +104,12 @@ Item {
|
||||
close()
|
||||
}
|
||||
}
|
||||
Timer {
|
||||
id: delayOpenTimer
|
||||
running: false
|
||||
interval: 100
|
||||
onTriggered: dialog.state = ""
|
||||
}
|
||||
|
||||
PlasmaCore.FrameSvgItem {
|
||||
id: dialog
|
||||
|
Loading…
Reference in New Issue
Block a user