projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a7fbd5
)
fix crash when removing a track in the presence of VCAs
author
Paul Davis
<paul@linuxaudiosystems.com>
Sun, 12 Jun 2016 17:07:18 +0000
(13:07 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Sun, 12 Jun 2016 17:07:24 +0000
(13:07 -0400)
gtk2_ardour/control_slave_ui.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/control_slave_ui.cc
b/gtk2_ardour/control_slave_ui.cc
index 3fd752c72f0d8be19c364b905c8845b5a7c7566d..dcb62971cf3951b9b3ee9faef976e2500bed0e32 100644
(file)
--- a/
gtk2_ardour/control_slave_ui.cc
+++ b/
gtk2_ardour/control_slave_ui.cc
@@
-94,10
+94,12
@@
ControlSlaveUI::update_vca_display ()
Gtkmm2ext::container_clear (*this);
master_connections.drop_connections ();
- for (VCAList::iterator v = vcas.begin(); v != vcas.end(); ++v) {
- if (stripable->gain_control()->slaved_to ((*v)->gain_control())) {
- add_vca_button (*v);
- any = true;
+ if (stripable) {
+ for (VCAList::iterator v = vcas.begin(); v != vcas.end(); ++v) {
+ if (stripable->gain_control()->slaved_to ((*v)->gain_control())) {
+ add_vca_button (*v);
+ any = true;
+ }
}
}