summaryrefslogtreecommitdiff
path: root/gtk2_ardour/processor_box.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-11-09 19:25:30 +0000
committerCarl Hetherington <carl@carlh.net>2011-11-09 19:25:30 +0000
commit9d56b190ad400094d14da930aec3756bb18795c1 (patch)
tree13cc3ea02bdf68ed4033875dc7a2995b1b656b17 /gtk2_ardour/processor_box.cc
parent80fe5422b43c7abdf327ad6c698a861bbf9c850c (diff)
Don't try to open SendUI for an internal send (#4460).
git-svn-id: svn://localhost/ardour2/branches/3.0@10513 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/processor_box.cc')
-rw-r--r--gtk2_ardour/processor_box.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc
index bde5fb5e8c..9d6bc10682 100644
--- a/gtk2_ardour/processor_box.cc
+++ b/gtk2_ardour/processor_box.cc
@@ -1785,8 +1785,10 @@ ProcessorBox::toggle_edit_processor (boost::shared_ptr<Processor> processor)
return;
}
- SendUIWindow* w = new SendUIWindow (send, _session);
- w->show ();
+ if (boost::dynamic_pointer_cast<InternalSend> (processor) == 0) {
+ SendUIWindow* w = new SendUIWindow (send, _session);
+ w->show ();
+ }
} else if ((retrn = boost::dynamic_pointer_cast<Return> (processor)) != 0) {