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
This commit is contained in:
Carl Hetherington 2010-05-05 22:09:07 +00:00
parent b092cfc216
commit 8c423ea228
8 changed files with 35 additions and 23 deletions

View file

@ -2551,7 +2551,7 @@ void
Editor::escape ()
{
if (_drags->active ()) {
_drags->break_drag ();
_drags->abort ();
} else {
selection->clear ();
}