summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_mouse.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-05-05 22:09:07 +0000
committerCarl Hetherington <carl@carlh.net>2010-05-05 22:09:07 +0000
commit8c423ea2284289a59e1cd549e7661114fa978ec8 (patch)
tree03ab5461a4603634aa06bb798cd1a4c38af8ce8f /gtk2_ardour/editor_mouse.cc
parentb092cfc21638e4b89164f36ed708136c6cf9c8e0 (diff)
Small cleanups to dragging code. Fix assertion failure on dragging a regions' parent entry from the region list to the canvas (which may be #2811). Fixes to drags of regions onto and then back off canvas; should fix #3109.
git-svn-id: svn://localhost/ardour2/branches/3.0@7068 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_mouse.cc')
-rw-r--r--gtk2_ardour/editor_mouse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_mouse.cc b/gtk2_ardour/editor_mouse.cc
index c8864eed3a..d75dce8079 100644
--- a/gtk2_ardour/editor_mouse.cc
+++ b/gtk2_ardour/editor_mouse.cc
@@ -2551,7 +2551,7 @@ void
Editor::escape ()
{
if (_drags->active ()) {
- _drags->break_drag ();
+ _drags->abort ();
} else {
selection->clear ();
}