mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +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);
|
cur.selHandle(select);
|
||||||
|
|
||||||
// handle autocorrect:
|
// handle autocorrect:
|
||||||
cur.autocorrect() = false;
|
if (lyxrc.autocorrection_math && cur.autocorrect()) {
|
||||||
cur.message(_("Autocorrect Off ('!' to enter)"));
|
cur.autocorrect() = false;
|
||||||
|
cur.message(_("Autocorrect Off ('!' to enter)"));
|
||||||
|
}
|
||||||
|
|
||||||
// go up/down
|
// go up/down
|
||||||
bool up = act == LFUN_UP || act == LFUN_UP_SELECT;
|
bool up = act == LFUN_UP || act == LFUN_UP_SELECT;
|
||||||
|
Loading…
Reference in New Issue
Block a user