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:
Martin Vermeer 2007-11-04 20:23:20 +00:00
parent 49e218e012
commit 32f92613c1
2 changed files with 12 additions and 0 deletions

View File

@ -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;

View File

@ -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:
*************