From a3af5e31f1870f45a2f4fd6315018610f36e5947 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 15 Apr 2020 02:38:18 +0200 Subject: Update labels in MIDI Automation Lanes when MIDNAM changes --- gtk2_ardour/automation_time_axis.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour/automation_time_axis.h') diff --git a/gtk2_ardour/automation_time_axis.h b/gtk2_ardour/automation_time_axis.h index e6643466b9..e345985e93 100644 --- a/gtk2_ardour/automation_time_axis.h +++ b/gtk2_ardour/automation_time_axis.h @@ -73,7 +73,7 @@ public: TimeAxisView& parent, bool show_regions, ArdourCanvas::Canvas& canvas, - const std::string & name, /* translatable */ + const std::string & name = "", /* translatable */ const std::string & plug_name = ""); ~AutomationTimeAxisView(); @@ -82,6 +82,7 @@ public: void set_samples_per_pixel (double); std::string name() const { return _name; } Gdk::Color color () const; + void update_name_from_param (); boost::shared_ptr stripable() const; ARDOUR::PresentationInfo const & presentation_info () const; -- cgit v1.2.3