diff options
author | Robin Gareus <robin@gareus.org> | 2013-07-10 14:19:48 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-07-10 15:27:13 +0200 |
commit | 4368759d41ffddf1c57baeb3c2bc929ab600b79b (patch) | |
tree | 0eb5181e8c3aac6b699b4a90816cdd4a5daeeb0f /gtk2_ardour/port_matrix.cc | |
parent | 0710171d901d4eb8373eff289e8e70fe1a675c98 (diff) |
amend to 212d2ac5d and 8becd4413 - fix port connection matrix crash on close
Diffstat (limited to 'gtk2_ardour/port_matrix.cc')
-rw-r--r-- | gtk2_ardour/port_matrix.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/port_matrix.cc b/gtk2_ardour/port_matrix.cc index 0fbbc03fb0..bac415d72f 100644 --- a/gtk2_ardour/port_matrix.cc +++ b/gtk2_ardour/port_matrix.cc @@ -206,6 +206,8 @@ PortMatrix::routes_changed () void PortMatrix::setup () { + if (!_session) return; // session went away + /* this needs to be done first, as the visible_ports() method uses the notebook state to decide which ports are being shown */ |