Fix menu item text corrupted by search & replace.
[ardour.git] / gtk2_ardour / automation_region_view.cc
index b86cb2191e1809133a3c0c01a802ddbe94ea98cf..08376d823f09e4a0f0253a58e4886a0469e24db1 100644 (file)
@@ -61,7 +61,7 @@ AutomationRegionView::init (Gdk::Color const & basic_color, bool /*wfd*/)
 
        set_height (trackview.current_height());
 
-       _region->PropertyChanged.connect (*this, ui_bind (&RegionView::region_changed, this, _1), gui_context());
+       _region->PropertyChanged.connect (*this, invalidator (*this), ui_bind (&RegionView::region_changed, this, _1), gui_context());
 
        set_colors ();