no self-assign for VCA masters

This commit is contained in:
Paul Davis
2016-03-04 15:02:56 -05:00
parent dd31ef2d1b
commit 6f9beb1e33

View File

@@ -297,6 +297,12 @@ VCAMasterStrip::vca_button_release (GdkEventButton* ev)
items.push_back (MenuElem (_("Unassign"), sigc::mem_fun (*this, &VCAMasterStrip::vca_unassign)));
for (VCAList::iterator v = vcas.begin(); v != vcas.end(); ++v) {
if (*v == _vca) {
/* no self-mastering */
continue;
}
items.push_back (CheckMenuElem ((*v)->name()));
CheckMenuItem* item = dynamic_cast<CheckMenuItem*> (&items.back());
if (_vca->control()->slaved_to (*v)) {