fix display of external Send UI
authorPaul Davis <paul@linuxaudiosystems.com>
Fri, 7 Jun 2013 21:50:13 +0000 (17:50 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Fri, 7 Jun 2013 21:50:13 +0000 (17:50 -0400)
gtk2_ardour/processor_box.cc

index bae29ae98ab26e05e0f493196b71879702a2b8f5..265f94c53b0659c48c74a1b493b2bd5f5794335e 100644 (file)
@@ -2084,10 +2084,12 @@ ProcessorBox::get_editor_window (boost::shared_ptr<Processor> processor, bool us
                }
 
                if (boost::dynamic_pointer_cast<InternalSend> (processor) == 0) {
-                       SendUIWindow* w = new SendUIWindow (send, _session);
-                       w->show ();
+
+                       gidget = new SendUIWindow (send, _session);
+
                } else {
                        /* assign internal send to main fader */
+
                        if (_parent_strip) {
                                if (_parent_strip->current_delivery() == send) {
                                        _parent_strip->revert_to_default_display ();