fix bad dynamic cast

git-svn-id: svn://localhost/ardour2/trunk@2226 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2007-08-02 19:57:42 +00:00
parent 8a58d67a25
commit 89b6edb0ce

View file

@ -1059,7 +1059,7 @@ ProcessorBox::edit_processor (boost::shared_ptr<Processor> processor)
}
}
if ((send = boost::dynamic_pointer_cast<Send> (send)) != 0) {
if ((send = boost::dynamic_pointer_cast<Send> (processor)) != 0) {
if (!_session.engine().connected()) {
return;