summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorUlrich Gemkow <lobugs@ikr.uni-stuttgart.de>2016-10-27 12:14:59 +0200
committerjan iversen <jani@documentfoundation.org>2016-10-28 08:28:38 +0000
commit7a2a29d0b8a3f57d2ca1d695632595ed46bf95cd (patch)
treec8b02635fb061153bec4491e15467bddb6d19f7a /sd
parentconvert std::unique_ptr<VclAbstractDialog> to VclPtr (diff)
downloadcore-7a2a29d0b8a3f57d2ca1d695632595ed46bf95cd.tar.gz
core-7a2a29d0b8a3f57d2ca1d695632595ed46bf95cd.zip
tdf#98587 Inconsistency menu/shortcut for layer visibility
Changed author, patch was received by htietze. Change-Id: I1962930c5c9c6eea4731a83147a7705d24c20b8e Reviewed-on: https://gerrit.libreoffice.org/30322 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/dlg/LayerTabBar.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sd/source/ui/dlg/LayerTabBar.cxx b/sd/source/ui/dlg/LayerTabBar.cxx
index 8f8425b88a6a..0ab57a7ed5c5 100644
--- a/sd/source/ui/dlg/LayerTabBar.cxx
+++ b/sd/source/ui/dlg/LayerTabBar.cxx
@@ -96,6 +96,7 @@ void LayerTabBar::MouseButtonDown(const MouseEvent& rMEvt)
bool bVisible = pPV->IsLayerVisible(aName);
pPV->SetLayerVisible(aName, !bVisible);
pDrViewSh->ResetActualLayer();
+ pDrViewSh->GetView()->GetDoc().SetChanged();
}
}