diff --git a/containmentactions/contextmenu/menu.cpp b/containmentactions/contextmenu/menu.cpp --- a/containmentactions/contextmenu/menu.cpp +++ b/containmentactions/contextmenu/menu.cpp @@ -142,7 +142,9 @@ (c->containmentType() != Plasma::Types::PanelContainment && c->containmentType() != Plasma::Types::CustomPanelContainment)) { - actions << a; + if (name != QLatin1String("lock widgets") || c->corona()->immutability() != Plasma::Types::Mutable) { + actions << a; + } } } }