diff options
Diffstat (limited to 'tests/testapplications/listview/onRemove.qml')
-rw-r--r-- | tests/testapplications/listview/onRemove.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/testapplications/listview/onRemove.qml b/tests/testapplications/listview/onRemove.qml index c5fffb0e55..e8abbbed0e 100644 --- a/tests/testapplications/listview/onRemove.qml +++ b/tests/testapplications/listview/onRemove.qml @@ -87,13 +87,15 @@ Item { lifeSpan: 2000 } - ListView.onRemove: SequentialAnimation { + SequentialAnimation { + id: removeAnimation PropertyAction { target: item; property: "ListView.delayRemove"; value: true } PropertyAction { target: item; property: "opacity"; value: 0 } ScriptAction { script: item.boom() } PauseAnimation { duration: 1000 } PropertyAction { target: item; property: "ListView.delayRemove"; value: false } } + ListView.onRemove: removeAnimation.start() } } |