sfx2/source/appl/childwin.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit a93e15c2e3a957ba97a166ee76be520a219ac540
Author:     Jim Raykowski <rayk...@gmail.com>
AuthorDate: Thu Jan 20 14:39:03 2022 -0900
Commit:     Jim Raykowski <rayk...@gmail.com>
CommitDate: Fri Feb 4 05:56:25 2022 +0100

    make floating Navigator stay put
    
    Change-Id: Ibbdd2bb66061189b361f4921e98ac4fd99563eab
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128714
    Tested-by: Jenkins
    Reviewed-by: Jim Raykowski <rayk...@gmail.com>

diff --git a/sfx2/source/appl/childwin.cxx b/sfx2/source/appl/childwin.cxx
index 2eb6bdc0652d..f122d2bfc874 100644
--- a/sfx2/source/appl/childwin.cxx
+++ b/sfx2/source/appl/childwin.cxx
@@ -238,7 +238,8 @@ std::unique_ptr<SfxChildWindow> 
SfxChildWindow::CreateChildWindow( sal_uInt16 nI
             {
                 if ( pBindings )
                     pBindings->ENTERREGISTRATIONS();
-                SfxChildWinInfo aInfo = nId == SID_SEARCH_DLG ? rInfo : 
rFactInfo;
+                SfxChildWinInfo aInfo = (nId == SID_SEARCH_DLG || nId == 
SID_NAVIGATOR) ?
+                            rInfo : rFactInfo;
                 Application::SetSystemWindowMode( 
SystemWindowFlags::NOAUTOMODE );
                 pChild = pFact->pCtor( pParent, nId, pBindings, &aInfo );
                 Application::SetSystemWindowMode( nOldMode );

Reply via email to