diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-01-21 11:03:14 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-01-22 11:58:31 -0500 |
commit | 9e5b7db89f381c70232fab35dc21fd885863f998 (patch) | |
tree | 2300e2211267c9e09f06e4948965d86b5a7bf3fa /gtk2_ardour/ardour_ui.cc | |
parent | eee07ac351cbdc5ade3d8ceed5de2df7f19a6217 (diff) |
first compiling, mostly working version of group controls changes
Diffstat (limited to 'gtk2_ardour/ardour_ui.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index 1ea6700b52..4d6a0a72d5 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -2247,10 +2247,10 @@ ARDOUR_UI::toggle_record_enable (uint32_t rid) if ((r = _session->route_by_remote_id (rid)) != 0) { - Track* t; + boost::shared_ptr<Track> t; - if ((t = dynamic_cast<Track*>(r.get())) != 0) { - t->set_record_enabled (!t->record_enabled(), this); + if ((t = boost::dynamic_pointer_cast<Track>(r)) != 0) { + t->set_record_enabled (!t->record_enabled(), Controllable::UseGroup); } } } |