summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-05-03 18:40:23 +0000
committerCarl Hetherington <carl@carlh.net>2011-05-03 18:40:23 +0000
commitf2160077c7f61055de648ac26d25172a08db4ffb (patch)
tree384e7c10896e5bf2130e07821586cffd2b581b4f /gtk2_ardour/route_time_axis.cc
parent92e72260b120c9f04a26a358ccb36b65f1a88ffa (diff)
Fix non-appearing track names when opening sessions with minimum track height (part of #4014).
git-svn-id: svn://localhost/ardour2/branches/3.0@9465 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r--gtk2_ardour/route_time_axis.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc
index c3c7e9d1f2..497803adff 100644
--- a/gtk2_ardour/route_time_axis.cc
+++ b/gtk2_ardour/route_time_axis.cc
@@ -234,6 +234,9 @@ RouteTimeAxisView::RouteTimeAxisView (PublicEditor& ed, Session* sess, boost::sh
gm.get_gain_slider().signal_scroll_event().connect(sigc::mem_fun(*this, &RouteTimeAxisView::controls_ebox_scroll), false);
gm.get_gain_slider().set_name ("TrackGainFader");
+
+ show_name_entry ();
+ hide_name_label ();
}
RouteTimeAxisView::~RouteTimeAxisView ()
@@ -866,8 +869,6 @@ RouteTimeAxisView::set_height (uint32_t h)
controls_table.set_border_width (2);
reset_meter();
- show_name_entry ();
- hide_name_label ();
gm.get_gain_slider().show();
mute_button->show();
@@ -891,8 +892,6 @@ RouteTimeAxisView::set_height (uint32_t h)
controls_table.set_border_width (2);
reset_meter();
- show_name_entry ();
- hide_name_label ();
gm.get_gain_slider().hide();
mute_button->show();