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

List:       kde-commits
Subject:    [kde-workspace/mart/AppletAttached] plasma/generic/applets/systemtray/package/contents/ui: reset exp
From:       Marco Martin <notmart () gmail ! com>
Date:       2014-01-31 18:03:17
Message-ID: E1W9IQv-0005aL-Lo () scm ! kde ! org
[Download RAW message or body]

Git commit d5fe4d110e89fd25e6c63ff8d2a2cd054b55ab20 by Marco Martin.
Committed on 31/01/2014 at 18:02.
Pushed by mart into branch 'mart/AppletAttached'.

reset expanded task when popup closes

M  +5    -0    plasma/generic/applets/systemtray/package/contents/ui/main.qml

http://commits.kde.org/kde-workspace/d5fe4d110e89fd25e6c63ff8d2a2cd054b55ab20

diff --git a/plasma/generic/applets/systemtray/package/contents/ui/main.qml \
b/plasma/generic/applets/systemtray/package/contents/ui/main.qml index \
                eb2bbe4..30665a6 100644
--- a/plasma/generic/applets/systemtray/package/contents/ui/main.qml
+++ b/plasma/generic/applets/systemtray/package/contents/ui/main.qml
@@ -39,6 +39,11 @@ Item {
     Layout.preferredWidth: Layout.minimumWidth * 1.5
     Layout.preferredHeight: Layout.minimumHeight * 1.5
     Plasmoid.preferredRepresentation: Plasmoid.compactRepresentation
+    Plasmoid.onExpandedChanged: {
+        if (!plasmoid.expanded) {
+            root.expandedTask = null;
+        }
+    }
 
     property int preferredItemSize: 128 // will be set by the grid, just needs a \
high-enough default  


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

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