triggerbox UI: clean up class heirachy for *TriggerPropertiesBox and catch trigger swaps

This commit is contained in:
Paul Davis 2022-01-01 16:18:50 -07:00
parent 4be38042a2
commit e3293db126
5 changed files with 45 additions and 26 deletions

View file

@ -789,6 +789,5 @@ TriggerUI::set_trigger (ARDOUR::TriggerReference tr)
trigger_changed (pc);
trigger()->PropertyChanged.connect (trigger_connections, MISSING_INVALIDATOR, boost::bind (&TriggerUI::trigger_changed, this, _1), gui_context());
tref.box->TriggerSwapped.connect (trigger_swap_connection, MISSING_INVALIDATOR, boost::bind (&TriggerUI::trigger_swap, this, _1), gui_context ());
}