summaryrefslogtreecommitdiff
path: root/sw
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 /sw
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 'sw')
-rw-r--r--sw/source/uibase/utlui/navipi.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sw/source/uibase/utlui/navipi.cxx b/sw/source/uibase/utlui/navipi.cxx
index 0a59be1f9bb1..cc6d60dcc06e 100644
--- a/sw/source/uibase/utlui/navipi.cxx
+++ b/sw/source/uibase/utlui/navipi.cxx
@@ -740,10 +740,7 @@ SwNavigationPI::SwNavigationPI(SfxBindings* _pBindings,
pActView->GetWrtShellPtr()->IsGlblDocSaveLinks());
if (m_pConfig->IsGlobalActive())
ToggleTree();
- m_aGlobalTree->GrabFocus();
}
- else
- m_aContentTree->GrabFocus();
UsePage();
m_aPageChgIdle.SetInvokeHandler(LINK(this, SwNavigationPI, ChangePageHdl));
m_aPageChgIdle.SetPriority(TaskPriority::LOWEST);