Update name_label as well as name_entry when the route name changes. Fixes #3675.

git-svn-id: svn://localhost/ardour2/branches/3.0@8460 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-01-06 01:36:28 +00:00
parent 75fca54e61
commit cdba0d7010
1 changed files with 4 additions and 1 deletions

View 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 ();