summaryrefslogtreecommitdiff
path: root/gtk2_ardour/global_port_matrix.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-07-20 17:56:02 +0000
committerCarl Hetherington <carl@carlh.net>2010-07-20 17:56:02 +0000
commit12e3fb454145be52ddc82871bedf19b5c32d1c39 (patch)
tree957bff08aba25a0bb7e7739dbd15f444bc78450a /gtk2_ardour/global_port_matrix.cc
parent2aaec8beeba0f694c945afe06147d4924587f67c (diff)
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
Diffstat (limited to 'gtk2_ardour/global_port_matrix.cc')
-rw-r--r--gtk2_ardour/global_port_matrix.cc6
1 files changed, 6 insertions, 0 deletions
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
{