summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2023-05-09 13:05:06 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2023-05-09 13:09:31 +0200
commit5b29a2b363196b9811fa73be552d8ba22566226a (patch)
treea352e3ac68b9a58ed10ebe4a95873caf82035337 /sfx2
parent880828b028c68ae4654322c98cc60d0c0cec3855 (diff)
navigator: use toggle available for all apps
Change-Id: I3136071ee943b120ebb2ad6491c91d8ebbcd6244 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151573 Tested-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/view/viewfrm.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index e082d651073e..7472cd37c905 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -3340,8 +3340,7 @@ void SfxViewFrame::ChildWindowExecute( SfxRequest &rReq )
if (comphelper::LibreOfficeKit::isActive())
{
ShowChildWindow(SID_SIDEBAR);
- OUString panelId = "SdNavigatorPanel";
- ::sfx2::sidebar::Sidebar::TogglePanel(panelId, GetFrame().GetFrameInterface());
+ ::sfx2::sidebar::Sidebar::ToggleDeck(u"NavigatorDeck", this);
rReq.Done();
return;
}