diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-02-15 20:16:44 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-02-16 10:07:52 +0100 |
commit | e8ffe26c0621e5eaa94bab5d24651e9abd4ea178 (patch) | |
tree | 91abf6f4563af692e05d933d9386d894c43a3926 /sw/source/uibase/utlui | |
parent | bdf7c31defeaf91a4f35d3b3d8eba4e5fbe66937 (diff) |
tdf#140387 grab focus to first panel widget on panel gaining focus
otherwise focus is getting lost in these currently mixed vcl+gtk widget
panels.
Change-Id: I6488ddfc98afdedb55bb3217f3877e96258dd65a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110955
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase/utlui')
-rw-r--r-- | sw/source/uibase/utlui/navipi.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/uibase/utlui/navipi.cxx b/sw/source/uibase/utlui/navipi.cxx index 7c440647e4e3..662ae43ebbe2 100644 --- a/sw/source/uibase/utlui/navipi.cxx +++ b/sw/source/uibase/utlui/navipi.cxx @@ -644,6 +644,8 @@ SwNavigationPI::SwNavigationPI(vcl::Window* pParent, m_xDocListBox->set_accessible_name(m_aStatusArr[3]); m_aExpandedSize = GetOptimalSize(); + + m_pInitialFocusWidget = m_xContent1ToolBox.get(); } SwNavigationPI::~SwNavigationPI() |