13
0

Set Transport Master sensitivity when loading session or changing masters

TransportMastersWidget::rebuild made all masters sensitive
even when external sync is active.
This commit is contained in:
Robin Gareus 2024-07-25 17:08:05 +02:00
parent 4f2b96dca8
commit d5bae02e33
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -273,6 +273,7 @@ TransportMastersWidget::rebuild ()
}
update_usability ();
allow_master_select (_session && !_session->config.get_external_sync());
}
bool
@ -682,7 +683,6 @@ TransportMastersWidget::set_session (ARDOUR::Session* s)
if (_session) {
_session->config.ParameterChanged.connect (session_config_connection, invalidator (*this), boost::bind (&TransportMastersWidget::param_changed, this, _1), gui_context());
allow_master_select (!_session->config.get_external_sync());
rebuild ();
} else {
clear ();