summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-11-19 11:33:36 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-11-20 06:56:53 +0000
commit6f493f9e379af1e005b85606c6aab515726be993 (patch)
tree986ec63ee8b865bcb866a91bee981cdea902352c /sd
parentec544c4b0512b42a9cb1e32d9e3cd9577f5b1f47 (diff)
Impress/Draw: Open Navigator in the Sidebar
Change-Id: I9a4ba3fd9c3909ccc5dfc459478a7b9b59fdc70e Reviewed-on: https://gerrit.libreoffice.org/20050 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/drviews2.cxx16
1 files changed, 2 insertions, 14 deletions
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx
index cebb95bc1d91..41a32c4bb76c 100644
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -2689,20 +2689,6 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
break;
case SID_NAVIGATOR:
- {
- if ( rReq.GetArgs() )
- GetViewFrame()->SetChildWindow(SID_NAVIGATOR,
- static_cast<const SfxBoolItem&>(rReq.GetArgs()->
- Get(SID_NAVIGATOR)).GetValue());
- else
- GetViewFrame()->ToggleChildWindow( SID_NAVIGATOR );
-
- GetViewFrame()->GetBindings().Invalidate(SID_NAVIGATOR);
- Cancel();
- rReq.Ignore ();
- }
- break;
-
case SID_SLIDE_TRANSITIONS_PANEL:
case SID_CUSTOM_ANIMATION_PANEL:
case SID_GALLERY:
@@ -2717,6 +2703,8 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
panelId = "GalleryPanel";
else if (nSId == SID_SLIDE_TRANSITIONS_PANEL)
panelId = "SdSlideTransitionPanel";
+ else if (nSId == SID_NAVIGATOR)
+ panelId = "SdNavigatorPanel";
::sfx2::sidebar::Sidebar::ShowPanel(
panelId,