side-chain button select connects exclusively
authorRobin Gareus <robin@gareus.org>
Wed, 6 Apr 2016 19:25:45 +0000 (21:25 +0200)
committerRobin Gareus <robin@gareus.org>
Wed, 6 Apr 2016 19:25:45 +0000 (21:25 +0200)
gtk2_ardour/plugin_pin_dialog.cc

index 9762903be9d0d28fc57a4217f6913efe07e19223..e10946f9170bb7fdf763dbbf2ea9f82790596481 100644 (file)
@@ -1124,6 +1124,9 @@ PluginPinDialog::connect_port (boost::weak_ptr<ARDOUR::Port> wp0, boost::weak_pt
        if (!io || !p0 || !p1) {
                return;
        }
+       _ignore_updates = true;
+       p0->disconnect_all ();
+       _ignore_updates = false;
        p0->connect (p1->name ());
 }