13
0

Make editor route list rec button respect group settings.

git-svn-id: svn://localhost/ardour2/branches/3.0@5421 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Sampo Savolainen 2009-07-23 17:26:32 +00:00
parent ae0ae3931b
commit 162c48b843

View File

@ -126,7 +126,7 @@ EditorRoutes::on_tv_rec_enable_toggled (Glib::ustring const & path_string)
AudioTimeAxisView *atv = dynamic_cast<AudioTimeAxisView*> (tv);
if (atv != 0 && atv->is_audio_track()){
atv->get_diskstream()->set_record_enabled(!atv->get_diskstream()->record_enabled());
atv->reversibly_apply_track_boolean ("rec-enable change", &Track::set_record_enable, !atv->track()->record_enabled(), this);
}
}