various tweaks to get 80% Of the way to proper use of TimeAxisView::name_label and TimeAxisView::name_entry. Not done yet, since the entry sometimes loses focus and cannot be hidden.

git-svn-id: svn://localhost/ardour2/branches/3.0@13836 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2013-01-12 04:07:29 +00:00
parent e40a8b384b
commit f269d7c56e
5 changed files with 59 additions and 41 deletions

View file

@ -1286,6 +1286,8 @@ RouteTimeAxisView::playlist () const
void
RouteTimeAxisView::name_entry_changed ()
{
TimeAxisView::name_entry_changed ();
string x = name_entry.get_text ();
if (x == _route->name()) {
@ -2168,14 +2170,6 @@ void
RouteTimeAxisView::update_rec_display ()
{
RouteUI::update_rec_display ();
if (_route->record_enabled()) {
hide_name_entry ();
show_name_label ();
} else {
hide_name_label ();
show_name_entry ();
}
}
void