From b75956d35d0c00f23852ed7b09dcb7c33003f20c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 30 Aug 2010 01:24:00 +0000 Subject: [PATCH] Respect link of region and track selection when setting via a list of Selectables. Should fix #2153. git-svn-id: svn://localhost/ardour2/branches/3.0@7710 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/selection.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gtk2_ardour/selection.cc b/gtk2_ardour/selection.cc index 3e9cd41698..42f1a80f0b 100644 --- a/gtk2_ardour/selection.cc +++ b/gtk2_ardour/selection.cc @@ -869,6 +869,11 @@ Selection::set (list const & selectables) { clear_regions(); clear_points (); + + if (Config->get_link_region_and_track_selection ()) { + clear_tracks (); + } + add (selectables); } -- 2.30.2