mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
Clean and overhaul up SendUI
* add polarity control * set transient parent * remove unused methods * clang-format source
This commit is contained in:
parent
8113633bb9
commit
5a48a56bfe
5 changed files with 81 additions and 103 deletions
|
|
@ -3964,8 +3964,9 @@ ProcessorBox::get_editor_window (boost::shared_ptr<Processor> processor, bool us
|
|||
}
|
||||
|
||||
if (boost::dynamic_pointer_cast<InternalSend> (processor) == 0) {
|
||||
|
||||
gidget = new SendUIWindow (send, _session);
|
||||
Gtk::Window* tlw = dynamic_cast<Gtk::Window*> (get_toplevel ());
|
||||
assert (tlw);
|
||||
gidget = new SendUIWindow (*tlw, _session, send);
|
||||
}
|
||||
|
||||
} else if ((retrn = boost::dynamic_pointer_cast<Return> (processor)) != 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue