Do not close spellchecker after "Replace All" (#11310)

Wrong use of wrapAround here
This commit is contained in:
Juergen Spitzmueller 2020-12-15 09:46:32 +01:00
parent 2ac48f2c5b
commit 1a0b842e66

View File

@ -511,8 +511,6 @@ void SpellcheckerWidget::on_replaceAllPB_clicked()
LYXERR(Debug::GUI, "Replace all (" << replacement << ")"); LYXERR(Debug::GUI, "Replace all (" << replacement << ")");
dispatch(FuncRequest(LFUN_WORD_REPLACE, datastring)); dispatch(FuncRequest(LFUN_WORD_REPLACE, datastring));
d->forward(); d->forward();
// replace all wraps around
d->wrapAround(true);
d->check(); // continue spellchecking d->check(); // continue spellchecking
d->canCheck(); d->canCheck();
} }