From dd40598a628645656567944f5258be1ff00f63b5 Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Tue, 6 Sep 2016 10:53:01 +0200 Subject: [PATCH] Fixed plasmoid not closing when clicked again BUG: 364473 --- plasmoid/package/contents/ui/CompactRepresentation.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plasmoid/package/contents/ui/CompactRepresentation.qml b/plasmoid/package/contents/ui/CompactRepresentation.qml index c4edb6d41..af58dccf7 100644 --- a/plasmoid/package/contents/ui/CompactRepresentation.qml +++ b/plasmoid/package/contents/ui/CompactRepresentation.qml @@ -21,9 +21,11 @@ import QtQuick 2.1 import org.kde.plasma.core 2.0 as PlasmaCore -Item { +MouseArea { id: view + onClicked: plasmoid.expanded = !plasmoid.expanded + PlasmaCore.IconItem { id: icon source: "kdeconnect"