make drop button on VCA strip actually work
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 19 May 2016 19:15:51 +0000 (15:15 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 31 May 2016 19:30:44 +0000 (15:30 -0400)
gtk2_ardour/vca_master_strip.cc

index 0c8a5f2e85c91e66e55994289b9fd64e354db281..bd105e07854de018e8d3ca2ec87fde7b16f8ba08 100644 (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 ();
 }