Unselect regions on tracks when the tracks are hidden. Fixes #3653.

git-svn-id: svn://localhost/ardour2/branches/3.0@8426 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-01-04 01:03:36 +00:00
parent aea2a9f0d7
commit fde56cc730
3 changed files with 20 additions and 1 deletions

View file

@ -372,8 +372,9 @@ TimeAxisView::hide ()
}
/* if its hidden, it cannot be selected */
_editor.get_selection().remove (this);
/* and neither can its regions */
_editor.get_selection().remove_regions (this);
Hiding ();
}