Patch from drmoore to fix mantis 2807 (crash on creating new return)

git-svn-id: svn://localhost/ardour2/branches/3.0@5459 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-08-03 16:13:50 +00:00
parent a7f4f66095
commit 022513756a

View file

@ -730,10 +730,10 @@ ProcessorBox::choose_return ()
}
/* let the user adjust the IO setup before creation */
IOSelectorWindow *ios = new IOSelectorWindow (_session, retrn->output(), true);
IOSelectorWindow *ios = new IOSelectorWindow (_session, retrn->input(), true);
ios->show_all ();
/* keep a reference to the send so it doesn't get deleted while
/* keep a reference to the return so it doesn't get deleted while
the IOSelectorWindow is doing its stuff */
_processor_being_created = retrn;