diff options
author | Armin Le Grand <alg@apache.org> | 2014-02-28 20:27:32 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-01 11:29:59 +0000 |
commit | f586542c3d3e5fda3a73c736ceaee3719859942d (patch) | |
tree | 3c8b502822fe23637b76807b9f51b7ecad18dc3b /sd | |
parent | Remove visual noise from bridges (diff) | |
download | core-f586542c3d3e5fda3a73c736ceaee3719859942d.tar.gz core-f586542c3d3e5fda3a73c736ceaee3719859942d.zip |
Related: #i57936# Added refresh to update LayerTabBar...
when attributes like Layer visibility were set
(cherry picked from commit 2f6673f38d76df1a26c658b20e9c180c7bfd4d14)
Change-Id: Iafc6be8070b69a01a80425fdafa2c55e7560f924
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/drviews5.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sd/source/ui/view/drviews5.cxx b/sd/source/ui/view/drviews5.cxx index 8555b8e78525..fd3fe884d8c3 100644 --- a/sd/source/ui/view/drviews5.cxx +++ b/sd/source/ui/view/drviews5.cxx @@ -289,6 +289,17 @@ void DrawViewShell::ReadFrameViewData(FrameView* pView) EditMode eNewEditMode = pView->GetViewShEditMode(mePageKind); sal_Bool bNewLayerMode = pView->IsLayerMode(); + + if(IsLayerModeActive() && bNewLayerMode) + { + // #i57936# Force mbIsLayerModeActive to false so that ChangeEditMode + // below does something regarding LayerTabBar content refresh. That refresh + // is only done when IsLayerModeActive changes. It needs to be done + // since e.g. Layer vsisibility was changed above and this may need + // a refresh to show the correct graphical representation + mbIsLayerModeActive = false; + } + ChangeEditMode(eNewEditMode, bNewLayerMode); SwitchPage(nSelectedPage); |