[LyX/2.3.x] Do not close spellchecker after "Replace All" (#11310)
Juergen Spitzmueller
spitz at lyx.org
Tue Dec 15 14:25:05 UTC 2020
commit 43bc156a0bee666bf94041d2971085286f554d8f
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Tue Dec 15 15:55:22 2020 +0100
Do not close spellchecker after "Replace All" (#11310)
Wrong use of wrapAround here
---
src/frontends/qt4/GuiSpellchecker.cpp | 2 --
status.23x | 2 ++
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/frontends/qt4/GuiSpellchecker.cpp b/src/frontends/qt4/GuiSpellchecker.cpp
index 537d9d7..a24f612 100644
--- a/src/frontends/qt4/GuiSpellchecker.cpp
+++ b/src/frontends/qt4/GuiSpellchecker.cpp
@@ -490,8 +490,6 @@ void SpellcheckerWidget::on_replaceAllPB_clicked()
LYXERR(Debug::GUI, "Replace all (" << replacement << ")");
dispatch(FuncRequest(LFUN_WORD_REPLACE, datastring));
d->forward();
- // replace all wraps around
- d->wrapAround(true);
d->check(); // continue spellchecking
d->canCheck();
}
diff --git a/status.23x b/status.23x
index 0370b1b..d9c81fb 100644
--- a/status.23x
+++ b/status.23x
@@ -60,6 +60,8 @@ What's new
- Make bibliographies work with grandchildren (bug 12033).
+- Do not close spellchecker after "Replace All" action (bug 11310).
+
* INTERNALS
More information about the lyx-cvs
mailing list