diff options
-rw-r--r-- | cui/source/dialogs/SpellDialog.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index bdb46b8bae29..5ad37af93487 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -441,6 +441,8 @@ IMPL_LINK( SpellDialog, ExtClickHdl, weld::Button&, rBtn, void ) SvxPrepareAutoCorrect( sWrong, sCurrentErrorText ); LanguageType eLang = GetSelectedLang_Impl(); rParent.AddAutoCorrection( sWrong, sCurrentErrorText, eLang ); + //correct the word immediately + ChangeHdl(*m_xAutoCorrPB); } } } |