Fixed plasmoid not closing when clicked again

BUG: 364473
This commit is contained in:
Albert Vaca 2016-09-06 10:53:01 +02:00
parent faaf60c8f4
commit dd40598a62

View file

@ -21,9 +21,11 @@
import QtQuick 2.1 import QtQuick 2.1
import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.core 2.0 as PlasmaCore
Item { MouseArea {
id: view id: view
onClicked: plasmoid.expanded = !plasmoid.expanded
PlasmaCore.IconItem { PlasmaCore.IconItem {
id: icon id: icon
source: "kdeconnect" source: "kdeconnect"