]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetListings.cpp
Clean-up the undo API
[features.git] / src / insets / InsetListings.cpp
index f6b699b4a8051de74fc05d1047dc6b0f37be3056..99645e78d5f55777792c5ffa3b4fa795e32baa6a 100644 (file)
@@ -324,7 +324,7 @@ void InsetListings::doDispatch(Cursor & cur, FuncRequest & cmd)
        switch (cmd.action()) {
 
        case LFUN_INSET_MODIFY: {
-               cur.recordUndoInset(ATOMIC_UNDO, this);
+               cur.recordUndoInset(this);
                InsetListings::string2params(to_utf8(cmd.argument()), params());
                break;
        }