mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Avoid incorrect "Autocorrect Off" message
This commit is contained in:
parent
5739433feb
commit
9fbee19a7f
@ -715,8 +715,10 @@ void InsetMathNest::doDispatch(Cursor & cur, FuncRequest & cmd)
|
||||
cur.selHandle(select);
|
||||
|
||||
// handle autocorrect:
|
||||
cur.autocorrect() = false;
|
||||
cur.message(_("Autocorrect Off ('!' to enter)"));
|
||||
if (lyxrc.autocorrection_math && cur.autocorrect()) {
|
||||
cur.autocorrect() = false;
|
||||
cur.message(_("Autocorrect Off ('!' to enter)"));
|
||||
}
|
||||
|
||||
// go up/down
|
||||
bool up = act == LFUN_UP || act == LFUN_UP_SELECT;
|
||||
|
Loading…
Reference in New Issue
Block a user