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
This commit is contained in:
Carl Hetherington 2011-11-09 19:25:30 +00:00
parent 80fe5422b4
commit 9d56b190ad

View file

@ -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) {