cui/source/dialogs/thesdlg.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 36651d2b51f7db243d975cc2bf3bb8975b2faa10
Author: Caolán McNamara <[email protected]>
AuthorDate: Mon Dec 12 16:58:46 2022 +0000
Commit: Adolfo Jayme Barrientos <[email protected]>
CommitDate: Mon Dec 12 21:16:45 2022 +0000
Resolves: tdf#139749 set initial focus to combobox
Change-Id: Ib8fd0dd4a4b5d4c137794c4538e61bfbf33b9a1d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144016
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <[email protected]>
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()