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
This commit is contained in:
Carl Hetherington 2010-04-10 00:24:27 +00:00
parent 556af5afa1
commit 2a4f4e2763

View File

@ -360,16 +360,18 @@ MixerStrip::set_route (boost::shared_ptr<Route> rt)
}
if (is_audio_track()) {
boost::shared_ptr<AudioTrack> 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()) {