diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-05-04 10:08:08 +0100 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2021-05-04 21:38:46 +0200 |
commit | 73759beea46a7aa5b7c7c2dbc65cccf868a6af04 (patch) | |
tree | 7d96e0f29cfcbe73c2c29c9c0dd112982508ed36 /sfx2 | |
parent | 0c866752bd1abc19689db22c782a8b62ace24fa3 (diff) |
tdf#142017 set default focus widget
Change-Id: I5befe345d9c6ec499efdc1cf8305513ee8a53690
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114931
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/mgetempl.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/dialog/mgetempl.cxx b/sfx2/source/dialog/mgetempl.cxx index 4ab0c2d2523c..eae174748abd 100644 --- a/sfx2/source/dialog/mgetempl.cxx +++ b/sfx2/source/dialog/mgetempl.cxx @@ -124,6 +124,7 @@ SfxManageStyleSheetPage::SfxManageStyleSheetPage(weld::Container* pPage, weld::D m_xName->set_can_focus(true); m_xName->set_editable(true); m_xName->set_sensitive(true); + m_xName->grab_focus(); // tdf#142017 default to focus within the page, not in notebook tab } else { |