inversion of logic
svn path=/trunk/KDE/kdelibs/; revision=915490
This commit is contained in:
parent
14ac4a4271
commit
3b547e427b
@ -1295,7 +1295,7 @@ void Applet::setHasConfigurationInterface(bool hasInterface)
|
||||
}
|
||||
d->actions.addAction("configure", configAction);
|
||||
}
|
||||
} else if (!d->isContainment || !qobject_cast<Plasma::Containment*>(this)) {
|
||||
} else if (!d->isContainment && !qobject_cast<Plasma::Containment*>(this)) {
|
||||
d->actions.removeAction(configAction);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user