]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetPhantom.cpp
Clean-up the undo API
[features.git] / src / insets / InsetPhantom.cpp
index 040c596b8d69e6daea5fd716c05ea50765797025..06365d680b6a9ce653249af46c9c5a9ddba7f4bf 100644 (file)
@@ -261,7 +261,7 @@ void InsetPhantom::doDispatch(Cursor & cur, FuncRequest & cmd)
        switch (cmd.action()) {
 
        case LFUN_INSET_MODIFY:
-               cur.recordUndoInset(ATOMIC_UNDO, this);
+               cur.recordUndoInset(this);
                string2params(to_utf8(cmd.argument()), params_);
                setButtonLabel();
                cur.forceBufferUpdate();