diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-09-13 02:03:04 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-09-13 02:03:04 +0000 |
commit | 3023d53d7d3f6dd726bcd07b0ebec8d7cfc2948d (patch) | |
tree | 9f507d0c225d468d6d8d8a3413a280342fc87931 /gtk2_ardour/processor_box.cc | |
parent | 265cf739b5c40839a66aa53e06b31d6a256af03a (diff) |
permit sends to show up in processor box, by handling delete event and sending Finished from IOSelectorWindow
git-svn-id: svn://localhost/ardour2/branches/3.0@5659 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/processor_box.cc')
-rw-r--r-- | gtk2_ardour/processor_box.cc | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc index ecc24772af..ac60653c17 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -672,17 +672,25 @@ ProcessorBox::choose_send () return; } - /* let the user adjust the IO setup before creation */ + /* let the user adjust the IO setup before creation. + + Note: this dialog is NOT modal - we just leave it to run and it will + return when its Finished signal is emitted - typically when the window + is closed. + */ + IOSelectorWindow *ios = new IOSelectorWindow (_session, send->output(), true); ios->show_all (); /* keep a reference to the send so it doesn't get deleted while - the IOSelectorWindow is doing its stuff */ + the IOSelectorWindow is doing its stuff + */ _processor_being_created = send; ios->selector().Finished.connect (bind ( mem_fun(*this, &ProcessorBox::send_io_finished), boost::weak_ptr<Processor>(send), ios)); + } void |