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
This commit is contained in:
parent
58304b3a7e
commit
afc8dd9022
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user