diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-05-04 10:08:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-05-04 13:38:15 +0200 |
commit | da55e2a11376da54be3159742e3c11018b3250bc (patch) | |
tree | aa79575b1d213522cac2835807a3e2b6da9c1a8b /sfx2 | |
parent | 35f03f26799747894d1534796b6cb227bd4f233b (diff) |
tdf#142017 set default focus widget
Change-Id: I5befe345d9c6ec499efdc1cf8305513ee8a53690
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115062
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.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 { |