From 5e28feda1a7d3391201c259969a14f55dfc8fb7b Mon Sep 17 00:00:00 2001 From: Valeriy Kamyshniy Date: Mon, 16 Feb 2015 02:41:46 +0200 Subject: [PATCH] [Summary] Leaving to early from MarkerDrag finishing procedure IS A BUG (at least we dropped commiting the reversible editor command). --- gtk2_ardour/editor_drag.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index 12038386ae..25f931a991 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -3710,11 +3710,7 @@ MarkerDrag::finished (GdkEvent* event, bool movement_occurred) if (location) { - if (location->locked()) { - return; - } - - if (location->is_mark()) { + if (location->locked() && location->is_mark()) { location->set_start (((*x).location)->start()); } else { location->set (((*x).location)->start(), ((*x).location)->end());