Fix bug #6766, Crash when creating new Session while one is currently open
This commit is contained in:
parent
90e35c7143
commit
05e59a06a2
@ -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 ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user