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:
André Pönitz 2002-04-15 08:50:20 +00:00
parent 5bd5028690
commit db61b4cd53

View File

@ -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);
}
}
}