summaryrefslogtreecommitdiff
path: root/gtk2_ardour/global_port_matrix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/global_port_matrix.cc')
-rw-r--r--gtk2_ardour/global_port_matrix.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk2_ardour/global_port_matrix.cc b/gtk2_ardour/global_port_matrix.cc
index fcd9960e43..8c1fde3082 100644
--- a/gtk2_ardour/global_port_matrix.cc
+++ b/gtk2_ardour/global_port_matrix.cc
@@ -192,6 +192,15 @@ GlobalPortMatrixWindow::set_session (Session* s)
}
}
+void
+GlobalPortMatrix::set_session (Session *s)
+{
+ SessionHandlePtr::set_session (s);
+ if (!s) return;
+ setup_all_ports ();
+ init();
+}
+
string
GlobalPortMatrix::disassociation_verb () const
{