mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
Do not close spellchecker after "Replace All" (#11310)
Wrong use of wrapAround here
This commit is contained in:
parent
2ac48f2c5b
commit
1a0b842e66
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user