Commit 28ddeb27 authored by David Edmundson's avatar David Edmundson
Browse files

Fix logic error in DBus script evaluation

Was mentioned in review, yet somehow slipped through
parent e275ca73
......@@ -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"));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment