13
0

Fix Triggerbox empty(), active-slots count on session load

This commit is contained in:
Robin Gareus 2022-02-04 01:18:02 +01:00
parent 05f4ffa598
commit 18207c6896
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -3411,7 +3411,9 @@ TriggerBox::set_state (const XMLNode& node, int version)
all_triggers.push_back (trig);
trig->set_state (**t, version);
}
_active_slots++;
if (trig->region ()) {
_active_slots++;
}
}
}