From 2f10450c179bc13e224784099911b723ed02b1ef Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 3 Apr 2014 18:07:05 +0200 Subject: [PATCH] make the animate property do something BUG:332884 CCBUG:332869 --- src/declarativeimports/plasmacomponents/qml/PageStack.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/declarativeimports/plasmacomponents/qml/PageStack.qml b/src/declarativeimports/plasmacomponents/qml/PageStack.qml index f545ec8de..5c99c4621 100644 --- a/src/declarativeimports/plasmacomponents/qml/PageStack.qml +++ b/src/declarativeimports/plasmacomponents/qml/PageStack.qml @@ -123,7 +123,7 @@ Item { */ function push(page, properties, immediate) { - return Engine.push(page, properties, false, immediate); + return Engine.push(page, properties, false, !root.animate || immediate); } /** @@ -137,7 +137,7 @@ Item { */ function pop(page, immediate) { - return Engine.pop(page, immediate); + return Engine.pop(page, !root.animate || immediate); } /** @@ -157,7 +157,7 @@ Item { */ function replace(page, properties, immediate) { - return Engine.push(page, properties, true, immediate); + return Engine.push(page, properties, true, !root.animate || immediate); } /** Clears the page stack of all pages. */