From 58f2c074a648106bc4d847f5ec8f2fe747fa95a7 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Thu, 3 Mar 2022 10:19:40 -0600 Subject: [PATCH] triggerbox: fix another case where UIState must be cached to retain settings --- libs/ardour/triggerbox.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index 5ae76a6cad..c89bef9424 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -1478,6 +1478,9 @@ AudioTrigger::set_region_in_worker_thread (boost::shared_ptr r) _follow_action_probability = 0; /* 100% left */ + /* we've changed our internal values; we need to update our queued UIState or they will be lost when UIState is applied */ + copy_to_ui_state (); + send_property_change (ARDOUR::Properties::name); return 0;