summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorBen Loftis <ben@glw.com>2010-03-12 16:45:34 +0000
committerBen Loftis <ben@glw.com>2010-03-12 16:45:34 +0000
commit1007b60ae7593a25dc28c0e4beaba75ef559cca8 (patch)
tree16076381a50ff05d9852ced4404b76d95b1e5af6 /libs
parentf37752557bc757cc80b7791e4813635758b48a66 (diff)
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
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/session.cc3
1 files changed, 3 insertions, 0 deletions
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<Diskstream> dstream)
void
Session::remove_route (shared_ptr<Route> route)
{
+ //clear solos before removing the route
+ route->set_solo ( false, this);
+
{
RCUWriter<RouteList> writer (routes);
shared_ptr<RouteList> rs = writer.get_copy ();