[LyX/master] Do not close spellchecker after "Replace All" (#11310)
Juergen Spitzmueller
spitz at lyx.org
Tue Dec 15 08:22:37 UTC 2020
commit 1a0b842e66e4979f1af5d45eafdf95bf0118ab2d
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Tue Dec 15 09:46:32 2020 +0100
Do not close spellchecker after "Replace All" (#11310)
Wrong use of wrapAround here
---
src/frontends/qt/GuiSpellchecker.cpp | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/frontends/qt/GuiSpellchecker.cpp b/src/frontends/qt/GuiSpellchecker.cpp
index fe9471c..99bd3c5 100644
--- a/src/frontends/qt/GuiSpellchecker.cpp
+++ b/src/frontends/qt/GuiSpellchecker.cpp
@@ -511,8 +511,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();
}
More information about the lyx-cvs
mailing list