mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
fix crash when removing a track in the presence of VCAs
This commit is contained in:
parent
9a7fbd53a2
commit
04caff02a1
1 changed files with 6 additions and 4 deletions
|
|
@ -94,10 +94,12 @@ ControlSlaveUI::update_vca_display ()
|
||||||
Gtkmm2ext::container_clear (*this);
|
Gtkmm2ext::container_clear (*this);
|
||||||
master_connections.drop_connections ();
|
master_connections.drop_connections ();
|
||||||
|
|
||||||
for (VCAList::iterator v = vcas.begin(); v != vcas.end(); ++v) {
|
if (stripable) {
|
||||||
if (stripable->gain_control()->slaved_to ((*v)->gain_control())) {
|
for (VCAList::iterator v = vcas.begin(); v != vcas.end(); ++v) {
|
||||||
add_vca_button (*v);
|
if (stripable->gain_control()->slaved_to ((*v)->gain_control())) {
|
||||||
any = true;
|
add_vca_button (*v);
|
||||||
|
any = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue