summaryrefslogtreecommitdiff
path: root/sc/source/ui/navipi
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-02-15 20:16:44 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-02-16 10:07:52 +0100
commite8ffe26c0621e5eaa94bab5d24651e9abd4ea178 (patch)
tree91abf6f4563af692e05d933d9386d894c43a3926 /sc/source/ui/navipi
parentbdf7c31defeaf91a4f35d3b3d8eba4e5fbe66937 (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 'sc/source/ui/navipi')
-rw-r--r--sc/source/ui/navipi/navipi.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx
index 4b7247657e10..5d3e7366f6f6 100644
--- a/sc/source/ui/navipi/navipi.cxx
+++ b/sc/source/ui/navipi/navipi.cxx
@@ -417,6 +417,8 @@ ScNavigatorDlg::ScNavigatorDlg(SfxBindings* pB, vcl::Window* pParent)
SetListMode(eNavMode);
aExpandedSize = GetOptimalSize();
+
+ m_pInitialFocusWidget = m_xEdCol.get();
}
void ScNavigatorDlg::UpdateSheetLimits()