sc/source/ui/undo/undotab.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit f9bc663d8d33d00ba3019151c82f0710b199d387
Author: Eike Rathke <er...@redhat.com>
Date:   Fri Jul 6 15:33:08 2018 +0200

    Handle protection lock mark in Undo/Redo, tdf#95880 follow-up
    
    Change-Id: Ic88cb375f9f6030c9268fca84de7a5434bb82dc1
    Reviewed-on: https://gerrit.libreoffice.org/57063
    Reviewed-by: Eike Rathke <er...@redhat.com>
    Tested-by: Jenkins
    (cherry picked from commit 6fb449d127d1da165f610c4c99c2c7d9c5afbb97)
    Reviewed-on: https://gerrit.libreoffice.org/57087
    Tested-by: Eike Rathke <er...@redhat.com>

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
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to