diff --git a/src/mathed/formulabase.C b/src/mathed/formulabase.C index d5605bfc3b..f355b6fd5f 100644 --- a/src/mathed/formulabase.C +++ b/src/mathed/formulabase.C @@ -409,12 +409,14 @@ InsetFormulaBase::localDispatch(BufferView * bv, kb_action action, updateLocal(bv, true); break; + case LFUN_DELETE_WORD_BACKWARD: case LFUN_BACKSPACE: bv->lockedInsetStoreUndo(Undo::DELETE); mathcursor->backspace(); bv->updateInset(this, true); break; + case LFUN_DELETE_WORD_FORWARD: case LFUN_DELETE: bv->lockedInsetStoreUndo(Undo::DELETE); mathcursor->erase();