summaryrefslogtreecommitdiff
path: root/gtk2_ardour/rhythm_ferret.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-05-05 01:53:30 +0000
committerDavid Robillard <d@drobilla.net>2009-05-05 01:53:30 +0000
commit83c27fa88879e20cd7ec8a87865dc2d3d91d1a88 (patch)
treea807e1ef077257a0c9b1bb7648c8ba60b8f4a0b0 /gtk2_ardour/rhythm_ferret.cc
parent90c82a97a7f4e3d8eeb3688eaa8a1aca7ac760c2 (diff)
Support recursive undo events.
Code can now call begin_reversible_command and commit_reversible_command around a region of code which itself calls those functions (and so on), areas contained within enclosing regions will be added as sub-commands of the current command (i.e. it's a stack). Fixes mantix issue #0002558. git-svn-id: svn://localhost/ardour2/branches/3.0@5051 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/rhythm_ferret.cc')
-rw-r--r--gtk2_ardour/rhythm_ferret.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/rhythm_ferret.cc b/gtk2_ardour/rhythm_ferret.cc
index ecad24e181..62f51c8a65 100644
--- a/gtk2_ardour/rhythm_ferret.cc
+++ b/gtk2_ardour/rhythm_ferret.cc
@@ -406,8 +406,8 @@ RhythmFerret::do_split_action ()
i = tmp;
}
+
session->commit_reversible_command ();
-
}
void