From 12e3fb454145be52ddc82871bedf19b5c32d1c39 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 20 Jul 2010 17:56:02 +0000 Subject: Fix a few dialogues which don't reset their session pointer correctly on a new session. Fixes #3342. git-svn-id: svn://localhost/ardour2/branches/3.0@7451 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/global_port_matrix.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gtk2_ardour/global_port_matrix.cc') diff --git a/gtk2_ardour/global_port_matrix.cc b/gtk2_ardour/global_port_matrix.cc index 49e2673263..98760c863e 100644 --- a/gtk2_ardour/global_port_matrix.cc +++ b/gtk2_ardour/global_port_matrix.cc @@ -166,6 +166,12 @@ GlobalPortMatrixWindow::on_show () resize_window_to_proportion_of_monitor (this, pm_max.first, pm_max.second); } +void +GlobalPortMatrixWindow::set_session (ARDOUR::Session* s) +{ + _port_matrix.set_session (s); +} + string GlobalPortMatrix::disassociation_verb () const { -- cgit v1.2.3