diff options
-rw-r--r-- | sc/source/ui/view/viewfunc.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx index 9e29d72da734..a4091418909d 100644 --- a/sc/source/ui/view/viewfunc.cxx +++ b/sc/source/ui/view/viewfunc.cxx @@ -2557,10 +2557,11 @@ bool ScViewFunc::Unprotect( SCTAB nTab, const OUString& rPassword ) pDocSh->GetUndoManager()->LeaveListAction(); } - SetTabProtectionSymbol(nTab, false); - if (bChanged) + { + SetTabProtectionSymbol(nTab, false); UpdateLayerLocks(); //! broadcast to all views + } return bChanged; } |