From 542424e27d93095272ad501d3947e51f787d69a7 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 28 Sep 2021 17:45:35 -0600 Subject: [PATCH] triggerbox: minor fixes to get properties working more correctly --- libs/ardour/triggerbox.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index d0b2d4c17b..f4ce8008bb 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -63,7 +63,7 @@ void Trigger::set_use_follow (bool yn) { _use_follow = yn; - PropertyChanged (Properties::legato); + PropertyChanged (Properties::use_follow); } void @@ -807,6 +807,10 @@ Trigger::make_property_quarks () { Properties::muted.property_id = g_quark_from_static_string (X_("running")); DEBUG_TRACE (DEBUG::Properties, string_compose ("quark for running = %1\n", Properties::running.property_id)); + Properties::legato.property_id = g_quark_from_static_string (X_("legato")); + DEBUG_TRACE (DEBUG::Properties, string_compose ("quark for legato = %1\n", Properties::legato.property_id)); + Properties::use_follow.property_id = g_quark_from_static_string (X_("use-follow")); + DEBUG_TRACE (DEBUG::Properties, string_compose ("quark for use-follow = %1\n", Properties::use_follow.property_id)); } const uint64_t TriggerBox::default_triggers_per_box = 8;