13
0

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:
Marijn Kruisselbrink 2021-12-08 14:10:58 -08:00 committed by Paul Davis
parent d04d25e7c7
commit 0e799357a8

View File

@ -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 ();
}