appropiate for entering a math inset. The "crash" in #2446 was due to
the dispatch not doing anything. Hence the cursor was still in text and
the assertion was triggered.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18737
a592a061-630c-0410-9148-
cb99ea01b6c8
case LFUN_MATH_DELIM:
case LFUN_MATH_BIGDELIM: {
cur.insert(new InsetMathHull(hullSimple));
- cur.dispatch(FuncRequest(LFUN_CHAR_FORWARD));
+ checkAndActivateInset(cur, true);
BOOST_ASSERT(cur.inMathed());
cur.dispatch(cmd);
break;