Don't hide applet when it needs configuring

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D4159
wilder-5.14
David Edmundson 9 years ago
parent 44d6302f71
commit 68abbe6693
  1. 4
      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

Loading…
Cancel
Save