Fix crash on close.
git-svn-id: svn://localhost/ardour2/branches/3.0@12719 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
33ba28e2e2
commit
34cd0f8419
@ -969,6 +969,10 @@ PortMatrix::port_connected_or_disconnected ()
|
|||||||
void
|
void
|
||||||
PortMatrix::update_tab_highlighting ()
|
PortMatrix::update_tab_highlighting ()
|
||||||
{
|
{
|
||||||
|
if (!_session) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
for (int i = 0; i < 2; ++i) {
|
for (int i = 0; i < 2; ++i) {
|
||||||
|
|
||||||
Gtk::Notebook* notebook = row_index() == i ? &_vnotebook : &_hnotebook;
|
Gtk::Notebook* notebook = row_index() == i ? &_vnotebook : &_hnotebook;
|
||||||
|
Loading…
Reference in New Issue
Block a user