mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-04 10:44:46 +00:00
hide the overlay on action triggered
This commit is contained in:
parent
04fc93b95e
commit
0ea412cc8f
1 changed files with 8 additions and 2 deletions
|
|
@ -85,13 +85,19 @@ Rectangle {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight:true
|
Layout.fillHeight:true
|
||||||
text: i18n("Wallpaper...")
|
text: i18n("Wallpaper...")
|
||||||
onClicked: plasmoid.action("configure").trigger();
|
onClicked: {
|
||||||
|
plasmoid.action("configure").trigger();
|
||||||
|
editOverlay.opacity = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
PlasmaComponents.Button {
|
PlasmaComponents.Button {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight:true
|
Layout.fillHeight:true
|
||||||
text: i18n("Add Widgets...")
|
text: i18n("Add Widgets...")
|
||||||
onClicked: plasmoid.action("add widgets").trigger();
|
onClicked: {
|
||||||
|
plasmoid.action("add widgets").trigger();
|
||||||
|
editOverlay.opacity = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue