summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2018-10-22 17:38:31 -0800
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-11-01 10:34:45 +0100
commit88cbc3ea2db8358bbedff01361f95f972f2b0231 (patch)
tree1237a5b1c0c1c7c0172ec1c1037f654d139a57c1 /sfx2/source
parent27ea5f66c788443aef38cfc5378ec6410d722a9f (diff)
tdf#49684 Don't focus on Navigator or Sidebar on show
Change-Id: I21b36c3ed2e5b6fc574e00f86d2c48c352cf469c Reviewed-on: https://gerrit.libreoffice.org/62337 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/dialog/navigat.cxx1
-rw-r--r--sfx2/source/sidebar/SidebarChildWindow.cxx2
2 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/dialog/navigat.cxx b/sfx2/source/dialog/navigat.cxx
index 2c0e974e62de..d80d656ffd29 100644
--- a/sfx2/source/dialog/navigat.cxx
+++ b/sfx2/source/dialog/navigat.cxx
@@ -42,6 +42,7 @@ SfxNavigatorWrapper::SfxNavigatorWrapper( vcl::Window* pParentWnd ,
static_cast<SfxDockingWindow*>( GetWindow() )->Initialize( pInfo );
SetHideNotDelete( true );
+ Show( ShowFlags::NoFocusChange );
}
SfxNavigator::SfxNavigator( SfxBindings* pBind ,
diff --git a/sfx2/source/sidebar/SidebarChildWindow.cxx b/sfx2/source/sidebar/SidebarChildWindow.cxx
index 7153c1d461b1..9c96f17ccf5b 100644
--- a/sfx2/source/sidebar/SidebarChildWindow.cxx
+++ b/sfx2/source/sidebar/SidebarChildWindow.cxx
@@ -60,7 +60,7 @@ SidebarChildWindow::SidebarChildWindow (vcl::Window* pParentWindow, sal_uInt16 n
}
SetHideNotDelete(true);
- GetWindow()->Show();
+ GetWindow()->Show(true, ShowFlags::NoFocusChange);
}
sal_Int32 SidebarChildWindow::GetDefaultWidth (vcl::Window const * pWindow)