From 1007b60ae7593a25dc28c0e4beaba75ef559cca8 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Fri, 12 Mar 2010 16:45:34 +0000 Subject: route removal fixes: notify user that removing a route will result in a save. and clear a routes solos before deleting it so the other tracks will unmute git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6753 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/session.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libs') diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index c5036301a8..2701f79543 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -2247,6 +2247,9 @@ Session::add_diskstream (boost::shared_ptr dstream) void Session::remove_route (shared_ptr route) { + //clear solos before removing the route + route->set_solo ( false, this); + { RCUWriter writer (routes); shared_ptr rs = writer.get_copy (); -- cgit v1.2.3