triggerbox (UI): set displayed name when region/name changes

This commit is contained in:
Paul Davis 2021-08-05 16:20:56 -06:00
parent a8f32b28e1
commit f681212f42
2 changed files with 26 additions and 7 deletions

View file

@ -23,6 +23,8 @@
#include <gtkmm/window.h>
#include "pbd/properties.h"
#include "ardour/triggerbox.h"
#include "canvas/box.h"
@ -56,6 +58,9 @@ class TriggerEntry : public ArdourCanvas::Rectangle
private:
ARDOUR::Trigger& _trigger;
PBD::ScopedConnection trigger_prop_connection;
void prop_change (PBD::PropertyChange const & change);
};
class TriggerBoxUI : public ArdourCanvas::Box