]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetCaption.cpp
Clean-up the undo API
[features.git] / src / insets / InsetCaption.cpp
index e9642396255977311c11c7269eb1ae5ea3480234..2465e7a7279bc3d0ee71d12bae6604bd0800d3b2 100644 (file)
@@ -197,7 +197,7 @@ void InsetCaption::doDispatch(Cursor & cur, FuncRequest & cmd)
 
        case LFUN_INSET_MODIFY: {
                if (cmd.getArg(0) == "changetype") {
-                       cur.recordUndoInset(ATOMIC_UNDO, this);
+                       cur.recordUndoInset(this);
                        type_ = cmd.getArg(1);
                        cur.forceBufferUpdate();
                        break;