Fix track-record-axis cleanup, duplicate self delete

Also hide/delete IOSelector dialogues early on when closing
the session.
This commit is contained in:
Robin Gareus 2021-02-26 02:54:45 +01:00
parent ad9e44e92a
commit 61b29c5810
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
3 changed files with 9 additions and 7 deletions

View file

@ -98,8 +98,6 @@ TrackRecordAxis::TrackRecordAxis (Session* s, boost::shared_ptr<ARDOUR::Route> r
RouteUI::set_route (rt);
_route->DropReferences.connect (_route_connections, invalidator (*this), boost::bind (&TrackRecordAxis::self_delete, this), gui_context ());
UI::instance ()->theme_changed.connect (sigc::mem_fun (*this, &TrackRecordAxis::on_theme_changed));
UIConfiguration::instance ().ColorsChanged.connect (sigc::mem_fun (*this, &TrackRecordAxis::on_theme_changed));
UIConfiguration::instance ().DPIReset.connect (sigc::mem_fun (*this, &TrackRecordAxis::on_theme_changed));