mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
GUI updates to handle monitor-section changes
This fixes various MS related action sensitivity issues, as well as action-states. Also manually adding a monitor-section to a session now always immediately shows it, regardless of prior ToggleMonitorSection visibility.
This commit is contained in:
parent
9836304e3e
commit
94d3da7e09
8 changed files with 59 additions and 39 deletions
|
|
@ -113,6 +113,8 @@ VCATimeAxisView::VCATimeAxisView (PublicEditor& ed, Session* s, ArdourCanvas::Ca
|
|||
controls_ebox.set_name (controls_base_unselected_name);
|
||||
time_axis_frame.set_name (controls_base_unselected_name);
|
||||
|
||||
s->MonitorBusAddedOrRemoved.connect (*this, invalidator (*this), boost::bind (&VCATimeAxisView::set_button_names, this), gui_context());
|
||||
|
||||
s->config.ParameterChanged.connect (*this, invalidator (*this), boost::bind (&VCATimeAxisView::parameter_changed, this, _1), gui_context());
|
||||
Config->ParameterChanged.connect (*this, invalidator (*this), boost::bind (&VCATimeAxisView::parameter_changed, this, _1), gui_context());
|
||||
UIConfiguration::instance().ParameterChanged.connect (sigc::mem_fun (*this, &VCATimeAxisView::parameter_changed));
|
||||
|
|
@ -135,7 +137,7 @@ VCATimeAxisView::parameter_changed (std::string const & p)
|
|||
{
|
||||
if (p == "track-name-number") {
|
||||
update_track_number_visibility();
|
||||
} else if (p == "use-monitor-bus" || p == "solo-control-is-listen-control" || p == "listen-position") {
|
||||
} else if (p == "solo-control-is-listen-control" || p == "listen-position") {
|
||||
set_button_names ();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue