From 1d022b19baf6361a122c1ce4d18fd5af49b56288 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Mon, 7 Apr 2008 19:19:03 +0000 Subject: [PATCH] fix #4713 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24158 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathNest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()); -- 2.39.5