summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2015-08-19 13:52:23 +1000
committerTim Mayberry <mojofunk@gmail.com>2015-08-19 13:56:12 +1000
commitbb79071038779057630e2244379f26af782c7852 (patch)
tree80b2b7584e97568541edc441cc8abf9171e1160e /gtk2_ardour
parentb4e13cbbb7115c44a09fa9fd7209cf982a4a0465 (diff)
Fix undo/redo when changing fade out length
This may fix bug #6518 or there may be more issues to be found
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/editor_drag.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc
index 4d343f3726..84fb2d557c 100644
--- a/gtk2_ardour/editor_drag.cc
+++ b/gtk2_ardour/editor_drag.cc
@@ -3631,7 +3631,7 @@ FadeOutDrag::finished (GdkEvent* event, bool movement_occurred)
if (!in_command) {
_editor->begin_reversible_command (_("change fade out length"));
- in_command = false;
+ in_command = true;
}
XMLNode &after = alist->get_state();
_editor->session()->add_command(new MementoCommand<AutomationList>(*alist.get(), &before, &after));