mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
parent
8a29bdb3d1
commit
2ec25c8eef
@ -320,9 +320,11 @@ void InsetMathSpace::doDispatch(Cursor & cur, FuncRequest & cmd)
|
|||||||
case LFUN_INSET_MODIFY:
|
case LFUN_INSET_MODIFY:
|
||||||
if (cmd.getArg(0) == "mathspace") {
|
if (cmd.getArg(0) == "mathspace") {
|
||||||
MathData ar;
|
MathData ar;
|
||||||
|
Buffer * buf = buffer_;
|
||||||
if (createInsetMath_fromDialogStr(cmd.argument(), ar)) {
|
if (createInsetMath_fromDialogStr(cmd.argument(), ar)) {
|
||||||
cur.recordUndo();
|
cur.recordUndo();
|
||||||
*this = *ar[0].nucleus()->asSpaceInset();
|
*this = *ar[0].nucleus()->asSpaceInset();
|
||||||
|
buffer_ = buf;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user