From 2a4f4e27632cbda32ec908bfecececefcd48b023 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 10 Apr 2010 00:24:27 +0000 Subject: Make record button appear in MIDI mixer strips. Fixes part of #2740. git-svn-id: svn://localhost/ardour2/branches/3.0@6881 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/mixer_strip.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'gtk2_ardour/mixer_strip.cc') diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index dd8da400cd..9ff7696ecd 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -360,16 +360,18 @@ MixerStrip::set_route (boost::shared_ptr rt) } if (is_audio_track()) { - boost::shared_ptr at = audio_track(); - at->FreezeChange.connect (route_connections, invalidator (*this), boost::bind (&MixerStrip::map_frozen, this), gui_context()); + } + if (is_track ()) { + button_table.attach (*rec_enable_button, 0, 2, 2, 3); rec_enable_button->set_sensitive (_session->writable()); rec_enable_button->show(); - } else if (!is_track()) { + } else { + /* non-master bus */ if (!_route->is_master()) { -- cgit v1.2.3