diff --git a/applet.cpp b/applet.cpp index a46e6bdb7..532e294da 100644 --- a/applet.cpp +++ b/applet.cpp @@ -1053,12 +1053,10 @@ void Applet::flushPendingConstraintsEvents() } bool canConfig = unlocked || KAuthorized::authorize("PlasmaAllowConfigureWhenLocked"); - if (canConfig) { - action = d->actions.action("configure"); - if (action) { - action->setVisible(canConfig); - action->setEnabled(canConfig); - } + action = d->actions.action("configure"); + if (action) { + action->setVisible(canConfig); + action->setEnabled(canConfig); } }