Update name_label as well as name_entry when the route name changes. Fixes #3675.
authorCarl Hetherington <carl@carlh.net>
Thu, 6 Jan 2011 01:36:28 +0000 (01:36 +0000)
committerCarl Hetherington <carl@carlh.net>
Thu, 6 Jan 2011 01:36:28 +0000 (01:36 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@8460 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/route_time_axis.cc

index f2e48fe6ce56da57bf4a99269ee0855bb37a12c1..4ec62f5fcc8f220777a63857950ac17a480be08e 100644 (file)
@@ -321,6 +321,10 @@ RouteTimeAxisView::label_view ()
                name_entry.set_text (x);
        }
 
+       if (x != name_label.get_text()) {
+               name_label.set_text (x);
+       }
+
        ARDOUR_UI::instance()->set_tip (name_entry, x);
 }
 
@@ -334,7 +338,6 @@ RouteTimeAxisView::route_property_changed (const PropertyChange& what_changed)
 
 void
 RouteTimeAxisView::take_name_changed (void *src)
-
 {
        if (src != this) {
                label_view ();