[Libreoffice-commits] core.git: sfx2/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue May 4 11:38:55 UTC 2021
sfx2/source/dialog/mgetempl.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit da55e2a11376da54be3159742e3c11018b3250bc
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue May 4 10:08:08 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue May 4 13:38:15 2021 +0200
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 at redhat.com>
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
{
More information about the Libreoffice-commits
mailing list