summaryrefslogtreecommitdiff
path: root/gtk2_ardour/processor_box.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-01-20 03:39:45 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-01-20 03:39:45 +0000
commitcc5e8d41da336535d04169550d09cfe02e9cb065 (patch)
treee3d15d394d74e7a0658e1ea096bb811d0d34cc0a /gtk2_ardour/processor_box.cc
parent5de9a8f38b0e18317b2b23c5b8698d0d29eba12b (diff)
patch from colinf to make dbl-click on send "box" map its controls to the strip; remove related stub functions from ProcessorBox; fix crash when removing send due to the process lock not being held
git-svn-id: svn://localhost/ardour2/branches/3.0@11274 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/processor_box.cc')
-rw-r--r--gtk2_ardour/processor_box.cc15
1 files changed, 5 insertions, 10 deletions
diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc
index a97f8d08b4..8eb1063bba 100644
--- a/gtk2_ardour/processor_box.cc
+++ b/gtk2_ardour/processor_box.cc
@@ -657,16 +657,6 @@ ProcessorBox::build_possible_aux_menu ()
}
void
-ProcessorBox::show_send_controls ()
-{
-}
-
-void
-ProcessorBox::new_send ()
-{
-}
-
-void
ProcessorBox::show_processor_menu (int arg)
{
if (processor_menu == 0) {
@@ -1830,6 +1820,11 @@ ProcessorBox::toggle_edit_processor (boost::shared_ptr<Processor> processor)
if (boost::dynamic_pointer_cast<InternalSend> (processor) == 0) {
SendUIWindow* w = new SendUIWindow (send, _session);
w->show ();
+ } else {
+ /* assign internal send to main fader */
+ if (_parent_strip) {
+ _parent_strip->show_send(send);
+ }
}
} else if ((retrn = boost::dynamic_pointer_cast<Return> (processor)) != 0) {