File 0026-Don-t-hide-applet-when-it-needs-configuring.patch of Package plasma5-workspace
From 084b0aaf27526165d3355c43caa320f0b51b63e5 Mon Sep 17 00:00:00 2001
From: David Edmundson <kde@davidedmundson.co.uk>
Date: Mon, 16 Jan 2017 12:45:58 +0000
Subject: [PATCH 26/44] Don't hide applet when it needs configuring
Reviewers: #plasma
Subscribers: plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D4159
---
applets/appmenu/package/contents/ui/main.qml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/applets/appmenu/package/contents/ui/main.qml b/applets/appmenu/package/contents/ui/main.qml
index 112c040e..5799b4bb 100644
--- a/applets/appmenu/package/contents/ui/main.qml
+++ b/applets/appmenu/package/contents/ui/main.qml
@@ -63,7 +63,9 @@ Item {
Plasmoid.fullRepresentation: GridLayout {
id: buttonGrid
- Plasmoid.status: buttonRepeater.count > 0 ? PlasmaCore.Types.ActiveStatus : PlasmaCore.Types.HiddenStatus
+ //when we're not enabled set to active to show the configure button
+ Plasmoid.status: !appletEnabled || buttonRepeater.count > 0 ?
+ PlasmaCore.Types.ActiveStatus : PlasmaCore.Types.HiddenStatus
Layout.minimumWidth: implicitWidth
Layout.minimumHeight: implicitHeight
--
2.12.0