Show VCA pane when a new VCA is created.
This commit is contained in:
parent
9a8464ff40
commit
9c1801fedb
@ -483,6 +483,12 @@ Mixer_UI::masters_scroller_button_release (GdkEventButton* ev)
|
||||
return false;
|
||||
}
|
||||
|
||||
void
|
||||
Mixer_UI::new_masters_created ()
|
||||
{
|
||||
ActionManager::get_toggle_action ("Mixer", "ToggleVCAPane")->set_active (true);
|
||||
}
|
||||
|
||||
void
|
||||
Mixer_UI::add_masters (VCAList& vlist)
|
||||
{
|
||||
@ -1059,6 +1065,7 @@ Mixer_UI::set_session (Session* sess)
|
||||
_session->StateSaved.connect (_session_connections, invalidator (*this), boost::bind (&Mixer_UI::update_title, this), gui_context());
|
||||
|
||||
_session->vca_manager().VCAAdded.connect (_session_connections, invalidator (*this), boost::bind (&Mixer_UI::add_masters, this, _1), gui_context());
|
||||
_session->vca_manager().VCACreated.connect (_session_connections, invalidator (*this), boost::bind (&Mixer_UI::new_masters_created, this), gui_context());
|
||||
|
||||
Config->ParameterChanged.connect (*this, invalidator (*this), boost::bind (&Mixer_UI::parameter_changed, this, _1), gui_context ());
|
||||
|
||||
|
@ -209,6 +209,7 @@ private:
|
||||
|
||||
void add_masters (ARDOUR::VCAList&);
|
||||
void remove_master (VCAMasterStrip*);
|
||||
void new_masters_created ();
|
||||
|
||||
MixerStrip* strip_by_route (boost::shared_ptr<ARDOUR::Route>) const;
|
||||
MixerStrip* strip_by_stripable (boost::shared_ptr<ARDOUR::Stripable>) const;
|
||||
|
Loading…
Reference in New Issue
Block a user