From 14dd33ec4aea3e84967ad4b300e423a09d9834de Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Sun, 11 Oct 2009 14:48:03 +0000 Subject: [PATCH] restore lock action on immutability change svn path=/trunk/KDE/kdelibs/; revision=1033910 --- corona.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/corona.cpp b/corona.cpp index 020da99dd..2d50440c5 100644 --- a/corona.cpp +++ b/corona.cpp @@ -699,6 +699,8 @@ void Corona::setImmutability(const ImmutabilityType immutable) bool unlocked = d->immutability == Mutable; action->setText(unlocked ? i18n("Lock Widgets") : i18n("Unlock Widgets")); action->setIcon(KIcon(unlocked ? "object-locked" : "object-unlocked")); + action->setEnabled(true); + action->setVisible(true); } }