From bfbf260eaf26b1e977f4aa8705ecb3097c2726cd Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 25 Jan 2016 22:10:43 -0500 Subject: [PATCH] when using InverseGroup for rec-enable, do not collect group members and pass them to a session RT event method --- gtk2_ardour/route_ui.cc | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc index 5dedca92fb..402e37df49 100644 --- a/gtk2_ardour/route_ui.cc +++ b/gtk2_ardour/route_ui.cc @@ -739,14 +739,8 @@ RouteUI::rec_enable_press(GdkEventButton* ev) boost::shared_ptr rl; - if (_route->route_group()) { - - rl = _route->route_group()->route_list(); - - } else { - rl.reset (new RouteList); - rl->push_back (_route); - } + rl.reset (new RouteList); + rl->push_back (_route); DisplaySuspender ds; _session->set_record_enabled (rl, !_route->record_enabled(), Session::rt_cleanup, Controllable::InverseGroup);