summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-01-06 01:36:28 +0000
committerCarl Hetherington <carl@carlh.net>2011-01-06 01:36:28 +0000
commitcdba0d701010e393958a4ae4973085422aafb3b8 (patch)
tree2fabb163ea2e4bc8c5e6771bce56934334390449 /gtk2_ardour/route_time_axis.cc
parent75fca54e6141fd81bfcfb2164319333b32bef519 (diff)
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
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r--gtk2_ardour/route_time_axis.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc
index f2e48fe6ce..4ec62f5fcc 100644
--- a/gtk2_ardour/route_time_axis.cc
+++ b/gtk2_ardour/route_time_axis.cc
@@ -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 ();