summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-05-04 10:08:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-05-04 13:38:15 +0200
commitda55e2a11376da54be3159742e3c11018b3250bc (patch)
treeaa79575b1d213522cac2835807a3e2b6da9c1a8b
parent35f03f26799747894d1534796b6cb227bd4f233b (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>
-rw-r--r--sfx2/source/dialog/mgetempl.cxx1
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
{