make drop button on VCA strip actually work

This commit is contained in:
Paul Davis 2016-05-19 15:15:51 -04:00
parent 6c61194710
commit e86926baaf
1 changed files with 6 additions and 0 deletions

View File

@ -500,9 +500,15 @@ VCAMasterStrip::remove ()
void
VCAMasterStrip::drop_all_slaves ()
{
_vca->Drop (); /* EMIT SIGNAL */
if (Mixer_UI::instance()->showing_vca_slaves_for (_vca)) {
Mixer_UI::instance()->show_vca_slaves (boost::shared_ptr<VCA>());
}
}
void
VCAMasterStrip::drop_button_press ()
{
drop_all_slaves ();
}