sfx2/source/dialog/mgetempl.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 73759beea46a7aa5b7c7c2dbc65cccf868a6af04
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Tue May 4 10:08:08 2021 +0100
Commit:     Adolfo Jayme Barrientos <fit...@ubuntu.com>
CommitDate: Tue May 4 21:38:46 2021 +0200

    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 <fit...@ubuntu.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
     {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to