From 0ea412cc8f977ffc177986e8ae838e0f1c6d975a Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Tue, 8 Sep 2015 23:39:03 +0200 Subject: [PATCH] hide the overlay on action triggered --- .../homescreen/package/contents/ui/EditOverlay.qml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/containments/homescreen/package/contents/ui/EditOverlay.qml b/containments/homescreen/package/contents/ui/EditOverlay.qml index ab2a1920..4eccbcd8 100644 --- a/containments/homescreen/package/contents/ui/EditOverlay.qml +++ b/containments/homescreen/package/contents/ui/EditOverlay.qml @@ -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; + } } } }