Remove redundant view <-> model value mapping stuff from AudioRegionGainLine.
[ardour.git] / gtk2_ardour / processor_box.cc
index fc264c661fc736e0ffaf10636f9189c8cd2f69d8..d093fda99f974dc62acba932ba0546b09c36903e 100644 (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;