From 68abbe669342a9d701cee8d063f5a6691fd8e47f Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Mon, 16 Jan 2017 12:45:58 +0000 Subject: [PATCH] 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 112c040e5..5799b4bb3 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