mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Hotfix to move cursor to the right when pressing M-m g x in text mode.
We desperately need context sensitive keybindings and more atomic LFUNs.. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3992 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5bd5028690
commit
db61b4cd53
@ -959,8 +959,11 @@ void mathDispatchInsertMath(BufferView * bv, string const & arg)
|
||||
InsetFormula * f = new InsetFormula(arg);
|
||||
if (!bv->insertInset(f))
|
||||
delete f;
|
||||
} else
|
||||
else if (!mathcursor) // hotfix
|
||||
bv->getLyXText()->cursorRight(bv);
|
||||
} else {
|
||||
mathDispatchMathMode(bv, arg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user