missing template dir patch from tim, fix extend selection to track when track is already selected

git-svn-id: svn://localhost/ardour2/trunk@1237 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2006-12-20 21:54:39 +00:00
parent f66a09c344
commit cc603c2daf
2 changed files with 21 additions and 4 deletions

View file

@ -2871,6 +2871,11 @@ struct TrackViewByPositionSorter
bool
Editor::extend_selection_to_track (TimeAxisView& view)
{
if (selection->selected (&view)) {
/* already selected, do nothing */
return false;
}
if (selection->tracks.empty()) {
if (!selection->selected (&view)) {