Further refactoring of drag code. Changes so that drags from the region list display a region view during the drag.

git-svn-id: svn://localhost/ardour2/branches/3.0@5127 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-06-08 19:28:51 +00:00
parent 472fa271fd
commit 0874426a5b
26 changed files with 658 additions and 424 deletions

View file

@ -167,7 +167,7 @@ AutomationStreamView::redisplay_diskstream ()
// Add and display region views, and flag them as valid
if (_trackview.is_track()) {
_trackview.get_diskstream()->playlist()->foreach_region (
sigc::mem_fun (*this, &StreamView::add_region_view)
sigc::hide_return (sigc::mem_fun (*this, &StreamView::add_region_view))
);
}