mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
triggerbox (UI): set displayed name when region/name changes
This commit is contained in:
parent
a8f32b28e1
commit
f681212f42
2 changed files with 26 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue