mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Set buffer correctly when changing math space type.
Fixes bug #7747.
(cherry picked from commit 2ec25c8eef
)
This commit is contained in:
parent
05282ceeec
commit
0e6cb4e599
@ -320,9 +320,11 @@ 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)) {
|
||||
cur.recordUndo();
|
||||
*this = *ar[0].nucleus()->asSpaceInset();
|
||||
buffer_ = buf;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -63,6 +63,7 @@ What's new
|
||||
|
||||
- Do not swallow backspaces in custom viewer/editor paths (bug 9622).
|
||||
|
||||
- Fix broken space dialog in mathed (bug 7747).
|
||||
|
||||
* INTERNALS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user