summaryrefslogtreecommitdiff
path: root/libs/ardour/session_transport.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2020-04-24 14:22:06 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2020-04-24 14:22:06 -0600
commitafc8dd90227d6b1f1b7e21b1f91997429467980d (patch)
treece983867c4f2d24d47170ecbe24b8ca74467eedd /libs/ardour/session_transport.cc
parent58304b3a7e827afd2fb75d3c3f777cf79248eaed (diff)
fix thinko in Session::should_ignore_transport_request() and drop out of external sync if command is allowed
The semantics are that if the user configures things to allow transport commands while using a transport master, issuing such commands first stops using the master
Diffstat (limited to 'libs/ardour/session_transport.cc')
-rw-r--r--libs/ardour/session_transport.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc
index 15f96046d9..247f6bd39a 100644
--- a/libs/ardour/session_transport.cc
+++ b/libs/ardour/session_transport.cc
@@ -825,8 +825,8 @@ Session::should_ignore_transport_request (TransportRequestSource src, TransportR
{
if (config.get_external_sync()) {
if (TransportMasterManager::instance().current()->allow_request (src, type)) {
- return false;
- } else {
+ /* accepting a command means dropping external sync first */
+ config.set_external_sync (false);
return true;
}
}