diff --git a/src/scriptengines/qml/plasmoid/containmentinterface.cpp b/src/scriptengines/qml/plasmoid/containmentinterface.cpp index 296a3f9c3..7e1821a38 100644 --- a/src/scriptengines/qml/plasmoid/containmentinterface.cpp +++ b/src/scriptengines/qml/plasmoid/containmentinterface.cpp @@ -422,6 +422,10 @@ void ContainmentInterface::setEditMode(bool edit) return; } + if (m_containment->immutability() != Plasma::Types::Mutable) { + return; + } + m_editMode = edit; emit editModeChanged(); }