From 1a0b842e66e4979f1af5d45eafdf95bf0118ab2d Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Tue, 15 Dec 2020 09:46:32 +0100 Subject: [PATCH] Do not close spellchecker after "Replace All" (#11310) Wrong use of wrapAround here --- src/frontends/qt/GuiSpellchecker.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/frontends/qt/GuiSpellchecker.cpp b/src/frontends/qt/GuiSpellchecker.cpp index fe9471ce6f..99bd3c50f8 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(); }