Fix logic error in DBus script evaluation

Was mentioned in review, yet somehow slipped through
wilder-5.14
David Edmundson 8 years ago
parent e275ca733b
commit 28ddeb274b
  1. 2
      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"));
}

Loading…
Cancel
Save