diff options
author | Jim Raykowski <raykowj@gmail.com> | 2022-01-20 14:39:03 -0900 |
---|---|---|
committer | Jim Raykowski <raykowj@gmail.com> | 2022-02-04 05:56:25 +0100 |
commit | a93e15c2e3a957ba97a166ee76be520a219ac540 (patch) | |
tree | d18cdaa89ab4fda880f80bd73780057f3b2472a6 /sfx2 | |
parent | 703fb7739a5e604d90e147db6f67917b8d141150 (diff) |
make floating Navigator stay put
Change-Id: Ibbdd2bb66061189b361f4921e98ac4fd99563eab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128714
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/childwin.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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 ); |