From f2160077c7f61055de648ac26d25172a08db4ffb Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 3 May 2011 18:40:23 +0000 Subject: [PATCH] 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 --- gtk2_ardour/route_time_axis.cc | 7 +++---- 1 file 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();