diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-12-11 12:52:40 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-12-11 12:52:40 +0000 |
commit | ee0fb82da6a0d511e2aa7e6071ea0fb05cb405e9 (patch) | |
tree | ea0a66a9efdf53a6429be2cbf90728f5a63cbc00 /libs/pbd/pbd/undo.h | |
parent | 337cee7a8344c76edc9068bf733ee8489b1c9bef (diff) |
never save more than Config->get_saved_history_depth() undo transactions to history file
git-svn-id: svn://localhost/ardour2/trunk@1200 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/pbd/undo.h')
-rw-r--r-- | libs/pbd/pbd/undo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/pbd/pbd/undo.h b/libs/pbd/pbd/undo.h index eb46750e4f..4dfab5178f 100644 --- a/libs/pbd/pbd/undo.h +++ b/libs/pbd/pbd/undo.h @@ -94,7 +94,7 @@ class UndoHistory : public sigc::trackable void clear_undo (); void clear_redo (); - XMLNode &get_state(); + XMLNode &get_state(uint32_t depth = 0); void save_state(); sigc::signal<void> Changed; |