fix crash when using OSC in a session with no master bus and no stripables selected
This commit is contained in:
parent
2d2660a6eb
commit
8c2bf116f5
@ -4757,6 +4757,9 @@ OSC::_strip_select2 (std::shared_ptr<Stripable> s, OSCSurface *sur, lo_address a
|
|||||||
}
|
}
|
||||||
_select = s;
|
_select = s;
|
||||||
}
|
}
|
||||||
|
if (!s) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
if (s != old_sel) {
|
if (s != old_sel) {
|
||||||
sur->select = s;
|
sur->select = s;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user