diff options
-rw-r--r-- | sc/source/ui/undo/undotab.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/undo/undotab.cxx b/sc/source/ui/undo/undotab.cxx index 8b27f5b317ed..e5b976e07374 100644 --- a/sc/source/ui/undo/undotab.cxx +++ b/sc/source/ui/undo/undotab.cxx @@ -1256,6 +1256,8 @@ void ScUndoTabProtect::DoProtect(bool bProtect) ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); if (pViewShell) { + if (ScTabView* pTabView = pViewShell->GetViewData().GetView()) + pTabView->SetTabProtectionSymbol( mnTab, bProtect); pViewShell->UpdateLayerLocks(); pViewShell->UpdateInputHandler(true); // so that input can be immediately entered again } |