13
0

Fix bug #6766, Crash when creating new Session while one is currently open

This commit is contained in:
Tim Mayberry 2016-02-11 09:52:36 +10:00
parent 90e35c7143
commit 05e59a06a2

View File

@ -2011,7 +2011,7 @@ Mixer_UI::parameter_changed (string const & p)
} else if (p == "remote-model") { } else if (p == "remote-model") {
reset_remote_control_ids (); reset_remote_control_ids ();
} else if (p == "use-monitor-bus") { } else if (p == "use-monitor-bus") {
if (!_session->monitor_out()) { if (_session && !_session->monitor_out()) {
monitor_section_detached (); monitor_section_detached ();
} }
} }