From: André Pönitz Date: Mon, 7 Apr 2008 19:19:03 +0000 (+0000) Subject: fix #4713 X-Git-Tag: 1.6.10~5255 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=1d022b19baf6361a122c1ce4d18fd5af49b56288;p=lyx.git fix #4713 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24158 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/InsetMathNest.cpp b/src/mathed/InsetMathNest.cpp index 1872799a38..8874b5b740 100644 --- a/src/mathed/InsetMathNest.cpp +++ b/src/mathed/InsetMathNest.cpp @@ -1074,7 +1074,8 @@ void InsetMathNest::doDispatch(Cursor & cur, FuncRequest & cmd) else { MathData ar; asArray(cmd.argument(), ar); - if (ar.size() == 1 && ar[0]->asNestInset()) + if (ar.size() == 1 && ar[0]->asNestInset() + && ar[0]->asNestInset()->nargs()) handleNest(cur, ar[0]); else cur.niceInsert(cmd.argument());