13
0

fix crash on session unload

This commit is contained in:
Robin Gareus 2013-07-09 16:27:33 +02:00
parent 0f1f7ca4fd
commit 93713d3aca

View File

@ -267,6 +267,7 @@ void
MeterStrip::set_session (Session* s)
{
SessionHandlePtr::set_session (s);
if (!s) return;
s->config.ParameterChanged.connect (*this, invalidator (*this), ui_bind (&MeterStrip::parameter_changed, this, _1), gui_context());
update_button_box();
update_name_box();