diff --git a/shell/shellcorona.cpp b/shell/shellcorona.cpp index 2b16d9098..b9dcab53b 100644 --- a/shell/shellcorona.cpp +++ b/shell/shellcorona.cpp @@ -1465,7 +1465,7 @@ void ShellCorona::loadKWinScriptInInteractiveConsole(const QString &script) } void ShellCorona::evaluateScript(const QString &script) { - if (immutability() != Plasma::Types::SystemImmutable) { + if (immutability() == Plasma::Types::SystemImmutable) { if (calledFromDBus()) { sendErrorReply(QDBusError::Failed, QStringLiteral("Widgets are locked")); }