[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kde-runtime/KDE/4.8] plasma/declarativeimports/plasmacomponents/qml: avoid double pushes
From:       Marco Martin <notmart () gmail ! com>
Date:       2012-01-26 21:06:43
Message-ID: 20120126210643.12116A60A6 () git ! kde ! org
[Download RAW message or body]

Git commit 9e8088825bd1ff62275697db3fdf633b0a1a80dd by Marco Martin.
Committed on 26/01/2012 at 21:59.
Pushed by mart into branch 'KDE/4.8'.

avoid double pushes

M  +3    -0    plasma/declarativeimports/plasmacomponents/qml/PageStack.qml

http://commits.kde.org/kde-runtime/9e8088825bd1ff62275697db3fdf633b0a1a80dd

diff --git a/plasma/declarativeimports/plasmacomponents/qml/PageStack.qml \
b/plasma/declarativeimports/plasmacomponents/qml/PageStack.qml index 0c66d1c..b2b2af1 \
                100644
--- a/plasma/declarativeimports/plasmacomponents/qml/PageStack.qml
+++ b/plasma/declarativeimports/plasmacomponents/qml/PageStack.qml
@@ -147,6 +147,9 @@ Item {
     // Returns the page instance that was popped off the stack.
     function pop(page, immediate)
     {
+        if (busy) {
+            return
+        }
         return Engine.pop(page, immediate);
     }
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic