diff options
author | Nikolaus Gullotta <nik@harrisonconsoles.com> | 2019-12-16 13:06:04 -0600 |
---|---|---|
committer | Nikolaus Gullotta <nik@harrisonconsoles.com> | 2019-12-16 13:06:04 -0600 |
commit | ce54e342ede5a8148d8ebca5f4a8985313ddc13f (patch) | |
tree | 9d6849ff7e1acae21a590db89bd2fc0a535a4407 /gtk2_ardour/ardour_ui.cc | |
parent | 0b4b53b8213daa0f0cc917a42c277d4803775891 (diff) |
Add additional roll check in transport_record
Previously there was no check for roll in case Session::Enabled this
can cause issues with "latched-record-enable" and "transport-roll"
Diffstat (limited to 'gtk2_ardour/ardour_ui.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index 06fb3e87df..b5ff6eed86 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -1709,7 +1709,11 @@ ARDOUR_UI::transport_record (bool roll) break; case Session::Enabled: - _session->disable_record (false, true); + if (roll) { + transport_roll(); + } else { + _session->disable_record (false, true); + } } } } |