From f916565a3ec5c58f8e7db4e90da8f2b91565ed65 Mon Sep 17 00:00:00 2001 From: Valeriy Kamyshniy Date: Sat, 14 Feb 2015 16:04:02 +0200 Subject: [PATCH] [Summary] Bug fixed: pressing esc when dragging range selection rectangle did not abort the operation; the range selection rectangle remained on screen and it was available to click on it to complete operation like it was not ESC (equal to abort) pressed. --- gtk2_ardour/editor_drag.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index 139edf1114..6762dc71cf 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -4634,7 +4634,7 @@ SelectionDrag::finished (GdkEvent* event, bool movement_occurred) void SelectionDrag::aborted (bool) { - /* XXX: TODO */ + _editor->selection->clear (); } MarkerBarDrag::MarkerBarDrag (Editor* e, ArdourCanvas::Item* i)