svx/source/form/fmshell.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 5e32583e755e877fd1eb68049d6f26d54fd939fe
Author:     Caolán McNamara <[email protected]>
AuthorDate: Sun Nov 2 19:57:31 2025 +0000
Commit:     Xisco Fauli <[email protected]>
CommitDate: Mon Nov 3 16:40:42 2025 +0100

    Resolves: tdf#144343 This isn't used to toggle navigator on/off
    
    but instead contains a SfxBoolItem which specifies if it should
    be shown or hidden and ChildWindowExecute takes care of deciding
    if that requires Toggling on or off.
    
    Change-Id: I2ad422041bb6f40f5b726111cf5ce35a32c39128
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193339
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <[email protected]>

diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx
index d88eb91fb3ec..d83899d301e5 100644
--- a/svx/source/form/fmshell.cxx
+++ b/svx/source/form/fmshell.cxx
@@ -597,7 +597,9 @@ void FmFormShell::Execute(SfxRequest &rReq)
         case SID_FM_FILTER_NAVIGATOR:
         case SID_FM_SHOW_DATANAVIGATOR :
         {
-            GetViewShell()->GetViewFrame().ToggleChildWindow(nSlot);
+            // request may explicitly request to show/hide these
+            // so may or may not result in a ToggleChildWindow
+            GetViewShell()->GetViewFrame().ChildWindowExecute(rReq);
             rReq.Done();
         }   break;
         case SID_FM_SHOW_FMEXPLORER:

Reply via email to