]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetBranch.cpp
Clean-up the undo API
[features.git] / src / insets / InsetBranch.cpp
index 9743208e587cf6132ae9334e058810c0464ad6ca..13ed53aed90722b301533196aa2e5556477c1112 100644 (file)
@@ -132,7 +132,7 @@ void InsetBranch::doDispatch(Cursor & cur, FuncRequest & cmd)
                InsetBranchParams params;
                InsetBranch::string2params(to_utf8(cmd.argument()), params);
 
-               cur.recordUndoInset(ATOMIC_UNDO, this);
+               cur.recordUndoInset(this);
                params_.branch = params.branch;
                // what we really want here is a TOC update, but that means
                // a full buffer update