Clean and overhaul up SendUI

* add polarity control
* set transient parent
* remove unused methods
* clang-format source
This commit is contained in:
Robin Gareus 2022-10-11 06:10:14 +02:00
parent 8113633bb9
commit 5a48a56bfe
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
5 changed files with 81 additions and 103 deletions

View file

@ -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) {