From 5802fd52eb1046fc92e5d89c28ad49bc765af3af Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Tue, 15 Mar 2022 08:53:41 -0500 Subject: [PATCH] triggerbox: use all_trigger_props (gui part) --- gtk2_ardour/trigger_ui.cc | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/gtk2_ardour/trigger_ui.cc b/gtk2_ardour/trigger_ui.cc index 04de1f13e5..1b946d8967 100644 --- a/gtk2_ardour/trigger_ui.cc +++ b/gtk2_ardour/trigger_ui.cc @@ -827,24 +827,7 @@ TriggerUI::set_trigger (ARDOUR::TriggerReference tr) tref = tr; - PropertyChange pc; - - pc.add (Properties::name); - pc.add (Properties::color); - pc.add (Properties::gain); - pc.add (Properties::stretch_mode); - pc.add (Properties::legato); - pc.add (Properties::quantization); - pc.add (Properties::launch_style); - pc.add (Properties::use_follow_length); - pc.add (Properties::follow_length); - pc.add (Properties::follow_count); - pc.add (Properties::follow_action0); - pc.add (Properties::follow_action1); - pc.add (Properties::velocity_effect); - pc.add (Properties::follow_action_probability); - - trigger_changed (pc); + trigger_changed (TriggerBox::all_trigger_props()); trigger()->PropertyChanged.connect (trigger_connections, invalidator (*this), boost::bind (&TriggerUI::trigger_changed, this, _1), gui_context()); tref.box->PropertyChanged.connect (trigger_connections, invalidator (*this), boost::bind (&TriggerUI::trigger_changed, this, _1), gui_context ());