]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetScript.cpp
Clean-up the undo API
[features.git] / src / insets / InsetScript.cpp
index 35c181fbe9ea211e5fcbb58fdb411f153050810f..a85444784f1c636e44c3e7493fb3599cc6c5dc60 100644 (file)
@@ -216,7 +216,7 @@ void InsetScript::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_);
                break;
        default: