cui/source/dialogs/SpellDialog.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 04d37a2151cdab801fff7229c2624a8e21be8c4b Author: Caolán McNamara <[email protected]> AuthorDate: Mon Jun 17 15:15:01 2019 +0100 Commit: Caolán McNamara <[email protected]> CommitDate: Mon Jun 17 17:20:07 2019 +0200 long winded false Change-Id: I79510d5156123f03b97dc4c2a0426347ef969d90 Reviewed-on: https://gerrit.libreoffice.org/74175 Tested-by: Jenkins Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index 8c6773efb98c..42ea20df9630 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -926,8 +926,7 @@ IMPL_LINK(SpellDialog, ModifyHdl, Edit&, rEd, void) { m_pSuggestionLB->SetNoSelection(); m_pSuggestionLB->Disable(); - OUString sNewText( m_pSentenceED->GetText() ); - m_pAutoCorrPB->Enable( sNewText != m_pSentenceED->GetText() ); + m_pAutoCorrPB->Disable(); std::unique_ptr<SpellUndoAction_Impl> pSpellAction(new SpellUndoAction_Impl(SPELLUNDO_CHANGE_TEXTENGINE, aDialogUndoLink)); if(!m_pChangeAllPB->IsEnabled()) { _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
