13
0

triggerbox: no trigger arming if we're already recording

This commit is contained in:
Paul Davis 2024-11-01 17:42:55 -06:00
parent 6f377cc3ad
commit feed39be3d

View File

@ -292,6 +292,12 @@ Trigger::request_trigger_delete (Trigger* t)
void
Trigger::arm ()
{
if (_box.record_enabled() == Recording) {
return;
}
std::cerr << "try to arm " << _box.order() << ':' << index() << std::endl;
/* trigger arming is mutually exclusive within a given TriggerBox */
_box.disarm_all ();