cui/source/dialogs/SpellDialog.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 79a2db2d0dc767eff69e286af30efe05efdc0c5f Author: Justin Luth <[email protected]> AuthorDate: Sat Sep 27 20:30:08 2025 -0400 Commit: Justin Luth <[email protected]> CommitDate: Sun Sep 28 03:38:19 2025 +0200 tdf#126826 cui SpellDialog: markNexterror - disable Undo button Change-Id: Ie0ca4a368672c30e089f33c322f30eed5783785e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191575 Tested-by: Jenkins Reviewed-by: Justin Luth <[email protected]> diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index c0f145fc568c..6071bf6abb74 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -1750,6 +1750,9 @@ bool SentenceEditWindow_Impl::MarkNextError( bool bIgnoreCurrentError, const css { pSpellDialog->m_xChangePB->set_sensitive(bRet); pSpellDialog->m_xChangeAllPB->set_sensitive(bRet); + + pSpellDialog->m_xSentenceED->ResetUndo(); + pSpellDialog->m_xUndoPB->set_sensitive(false); } return bRet; }
