cui/source/dialogs/thesdlg.cxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit d4a1d4b266a74a9adeaa84a8caab9b8b33dbb302 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Dec 12 16:58:46 2022 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Dec 12 20:57:58 2022 +0000
Resolves: tdf#139749 set initial focus to combobox Change-Id: Ib8fd0dd4a4b5d4c137794c4538e61bfbf33b9a1d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144006 Tested-by: Caolán McNamara <caol...@redhat.com> Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/cui/source/dialogs/thesdlg.cxx b/cui/source/dialogs/thesdlg.cxx index 1d98480973ee..ea98a44a3c9e 100644 --- a/cui/source/dialogs/thesdlg.cxx +++ b/cui/source/dialogs/thesdlg.cxx @@ -315,6 +315,8 @@ SvxThesaurusDialog::SvxThesaurusDialog( // disable controls if service is missing if (!xThesaurus.is()) m_xDialog->set_sensitive(false); + else + m_xWordCB->grab_focus(); } SvxThesaurusDialog::~SvxThesaurusDialog()