InsetMathNest.cpp: fix bug 4720 for trunk as well

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24287 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2008-04-15 23:44:23 +00:00
parent 67920b5b0f
commit 82fca3a08d

View File

@ -1076,7 +1076,7 @@ void InsetMathNest::doDispatch(Cursor & cur, FuncRequest & cmd)
MathData ar;
asArray(cmd.argument(), ar);
if (ar.size() == 1 && ar[0]->asNestInset()
&& ar[0]->asNestInset()->nargs())
&& ar[0]->asNestInset()->nargs() > 1)
handleNest(cur, ar[0]);
else
cur.niceInsert(cmd.argument());