restore lock action on immutability change
svn path=/trunk/KDE/kdelibs/; revision=1033910
This commit is contained in:
parent
d7021b22c2
commit
14dd33ec4a
@ -699,6 +699,8 @@ void Corona::setImmutability(const ImmutabilityType immutable)
|
|||||||
bool unlocked = d->immutability == Mutable;
|
bool unlocked = d->immutability == Mutable;
|
||||||
action->setText(unlocked ? i18n("Lock Widgets") : i18n("Unlock Widgets"));
|
action->setText(unlocked ? i18n("Lock Widgets") : i18n("Unlock Widgets"));
|
||||||
action->setIcon(KIcon(unlocked ? "object-locked" : "object-unlocked"));
|
action->setIcon(KIcon(unlocked ? "object-locked" : "object-unlocked"));
|
||||||
|
action->setEnabled(true);
|
||||||
|
action->setVisible(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user