Fix crash in mackie strip code.
Strip::notify_property_changed accesses _stripable without verifying that is not null. However it is possible for this to be null, so add a null check.
This commit is contained in:
parent
d04d25e7c7
commit
0e799357a8
@ -389,6 +389,10 @@ Strip::notify_processor_changed (bool force_update)
|
||||
void
|
||||
Strip::notify_property_changed (const PropertyChange& what_changed)
|
||||
{
|
||||
if (!_stripable) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (what_changed.contains (ARDOUR::Properties::name)) {
|
||||
show_stripable_name ();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user