X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathSpace.cpp;h=fcef36c1a1ca50eb829661e2ac099e66f8f063ed;hb=d9082639080b9de993742bd352f92e5183058cf5;hp=d053b68d412ac67409327614595b2b4cedf2bdec;hpb=649755f48180b0466cdf212178dc9bdcc5d18210;p=lyx.git diff --git a/src/mathed/InsetMathSpace.cpp b/src/mathed/InsetMathSpace.cpp index d053b68d41..fcef36c1a1 100644 --- a/src/mathed/InsetMathSpace.cpp +++ b/src/mathed/InsetMathSpace.cpp @@ -320,8 +320,8 @@ void InsetMathSpace::doDispatch(Cursor & cur, FuncRequest & cmd) case LFUN_INSET_MODIFY: if (cmd.getArg(0) == "mathspace") { MathData ar; - Buffer * buf = buffer_; if (createInsetMath_fromDialogStr(cmd.argument(), ar)) { + Buffer * buf = buffer_; cur.recordUndo(); *this = *ar[0].nucleus()->asSpaceInset(); buffer_ = buf;