mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
Allow dissolution of insets inside mathed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21423 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
49e218e012
commit
32f92613c1
@ -1003,6 +1003,12 @@ goto_char_backwards:
|
||||
cur.undispatched();
|
||||
break;
|
||||
}
|
||||
case LFUN_INSET_DISSOLVE:
|
||||
if (!asHullInset()) {
|
||||
recordUndoInset(cur, Undo::ATOMIC);
|
||||
cur.pullArg();
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
InsetMath::doDispatch(cur, cmd);
|
||||
@ -1112,6 +1118,10 @@ bool InsetMathNest::getStatus(Cursor & cur, FuncRequest const & cmd,
|
||||
flag.enabled(false);
|
||||
break;
|
||||
|
||||
case LFUN_INSET_DISSOLVE:
|
||||
flag.enabled(!asHullInset());
|
||||
break;
|
||||
|
||||
default:
|
||||
ret = false;
|
||||
break;
|
||||
|
@ -50,6 +50,8 @@ What's new
|
||||
- It is now possible to enter greek and cyrillic characters and have them
|
||||
typesetted without switching to the proper language.
|
||||
|
||||
- Inset dissolve now works in mathed.
|
||||
|
||||
|
||||
** Bug fixes:
|
||||
*************
|
||||
|
Loading…
x
Reference in New Issue
Block a user