sfx2/source/view/viewfrm.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 5b29a2b363196b9811fa73be552d8ba22566226a Author: Szymon Kłos <[email protected]> AuthorDate: Tue May 9 13:05:06 2023 +0200 Commit: Szymon Kłos <[email protected]> CommitDate: Tue May 9 13:09:31 2023 +0200 navigator: use toggle available for all apps Change-Id: I3136071ee943b120ebb2ad6491c91d8ebbcd6244 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151573 Tested-by: Szymon Kłos <[email protected]> Reviewed-by: Szymon Kłos <[email protected]> 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; }
