* catch CustomPanelContainment as well on immutability settings
* immobilize the desktop toolbox on immutability svn path=/trunk/KDE/kdelibs/; revision=886372
This commit is contained in:
parent
b4a67cda4b
commit
323c6a7232
@ -1562,8 +1562,10 @@ void ContainmentPrivate::containmentConstraintsEvent(Plasma::Constraints constra
|
||||
a->updateConstraints(ImmutableConstraint);
|
||||
}
|
||||
|
||||
if (q->isContainment() && type == Containment::PanelContainment) {
|
||||
if (type == Containment::PanelContainment || type == Containment::CustomPanelContainment) {
|
||||
toolBox->setVisible(unlocked);
|
||||
} else {
|
||||
toolBox->setIsMovable(unlocked);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user