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:
parent
4f2b96dca8
commit
d5bae02e33
@ -273,6 +273,7 @@ TransportMastersWidget::rebuild ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
update_usability ();
|
update_usability ();
|
||||||
|
allow_master_select (_session && !_session->config.get_external_sync());
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
@ -682,7 +683,6 @@ TransportMastersWidget::set_session (ARDOUR::Session* s)
|
|||||||
|
|
||||||
if (_session) {
|
if (_session) {
|
||||||
_session->config.ParameterChanged.connect (session_config_connection, invalidator (*this), boost::bind (&TransportMastersWidget::param_changed, this, _1), gui_context());
|
_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 ();
|
rebuild ();
|
||||||
} else {
|
} else {
|
||||||
clear ();
|
clear ();
|
||||||
|
Loading…
Reference in New Issue
Block a user