projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebbe96a
)
rework dbf28e3 (hidden parameters)
author
Robin Gareus
<robin@gareus.org>
Wed, 28 Oct 2015 20:25:01 +0000
(21:25 +0100)
committer
Robin Gareus
<robin@gareus.org>
Wed, 28 Oct 2015 20:25:01 +0000
(21:25 +0100)
gtk2_ardour/route_time_axis.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/route_time_axis.cc
b/gtk2_ardour/route_time_axis.cc
index ee1b4f4322a886f26293a7a3aefda94b2cd0516c..a07e97a276f4e7de2f78b8f7b330e5e6931ee089 100644
(file)
--- a/
gtk2_ardour/route_time_axis.cc
+++ b/
gtk2_ardour/route_time_axis.cc
@@
-2334,6
+2334,7
@@
RouteTimeAxisView::add_processor_to_subplugin_menu (boost::weak_ptr<Processor> p
if (x == processor_automation.end()) {
rai = new ProcessorAutomationInfo (processor);
+ processor_automation.push_back (rai);
} else {
rai = *x;
}
@@
-2388,10
+2389,7
@@
RouteTimeAxisView::add_processor_to_subplugin_menu (boost::weak_ptr<Processor> p
mitem->signal_toggled().connect (sigc::bind (sigc::mem_fun(*this, &RouteTimeAxisView::processor_menu_item_toggled), rai, pan));
}
- if (items.size() > 0) {
- processor_automation.push_back (rai);
- } else {
- delete rai;
+ if (items.size() == 0) {
return;
}