diff options
Diffstat (limited to 'libs/ardour/track.cc')
-rw-r--r-- | libs/ardour/track.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libs/ardour/track.cc b/libs/ardour/track.cc index 22edb52dcb..c7cff72fd3 100644 --- a/libs/ardour/track.cc +++ b/libs/ardour/track.cc @@ -279,11 +279,7 @@ Track::set_record_enabled (bool yn, void *src) return; } - if (yn) { - _diskstream->engage_record_enable(); - } else { - _diskstream->disengage_record_enable(); - } + _diskstream->set_record_enabled (yn); _rec_enable_control->Changed (); } |