hide the overlay on action triggered

This commit is contained in:
Marco Martin 2015-09-08 23:39:03 +02:00
parent 04fc93b95e
commit 0ea412cc8f

View file

@ -85,13 +85,19 @@ Rectangle {
Layout.fillWidth: true
Layout.fillHeight:true
text: i18n("Wallpaper...")
onClicked: plasmoid.action("configure").trigger();
onClicked: {
plasmoid.action("configure").trigger();
editOverlay.opacity = 0;
}
}
PlasmaComponents.Button {
Layout.fillWidth: true
Layout.fillHeight:true
text: i18n("Add Widgets...")
onClicked: plasmoid.action("add widgets").trigger();
onClicked: {
plasmoid.action("add widgets").trigger();
editOverlay.opacity = 0;
}
}
}
}