Show send UI window on edit (#3696)
git-svn-id: svn://localhost/ardour2/branches/3.0@8499 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
51a3dce3e8
commit
f6e12d4210
@ -1621,6 +1621,7 @@ void
|
||||
ProcessorBox::toggle_edit_processor (boost::shared_ptr<Processor> processor)
|
||||
{
|
||||
boost::shared_ptr<Send> send;
|
||||
boost::shared_ptr<InternalSend> internal_send;
|
||||
boost::shared_ptr<Return> retrn;
|
||||
boost::shared_ptr<PluginInsert> plugin_insert;
|
||||
boost::shared_ptr<PortInsert> port_insert;
|
||||
@ -1633,7 +1634,7 @@ ProcessorBox::toggle_edit_processor (boost::shared_ptr<Processor> processor)
|
||||
}
|
||||
}
|
||||
|
||||
if ((send = boost::dynamic_pointer_cast<Send> (processor)) != 0) {
|
||||
if ((internal_send = boost::dynamic_pointer_cast<InternalSend> (processor)) != 0) {
|
||||
|
||||
if (!_session->engine().connected()) {
|
||||
return;
|
||||
@ -1647,6 +1648,15 @@ ProcessorBox::toggle_edit_processor (boost::shared_ptr<Processor> processor)
|
||||
}
|
||||
}
|
||||
|
||||
} else if ((send = boost::dynamic_pointer_cast<Send> (processor)) != 0) {
|
||||
|
||||
if (!_session->engine().connected()) {
|
||||
return;
|
||||
}
|
||||
|
||||
SendUIWindow* w = new SendUIWindow (send, _session);
|
||||
w->show_all ();
|
||||
|
||||
} else if ((retrn = boost::dynamic_pointer_cast<Return> (processor)) != 0) {
|
||||
|
||||
if (boost::dynamic_pointer_cast<InternalReturn> (retrn)) {
|
||||
|
Loading…
Reference in New Issue
Block a user