Try to straighten out the sequence label issue.

This commit is contained in:
Jonathan Moore Liles 2008-04-23 16:00:51 -05:00
parent 2dd18e842f
commit ba07b64e3d
1 changed files with 5 additions and 1 deletions

View File

@ -295,9 +295,11 @@ Track::add ( Sequence * t )
char pat[20]; char pat[20];
snprintf( pat, sizeof( pat ), "%d", takes->children() ); snprintf( pat, sizeof( pat ), "%d", takes->children() );
t->name( strdup( pat ) ); t->name( strdup( pat ) );
take_menu->add( t->name() );
} }
take_menu->add( t->name() );
t->labeltype( FL_ENGRAVED_LABEL );
} }
void void
@ -329,6 +331,8 @@ Track::track ( Sequence * t )
_track = t; _track = t;
pack->insert( *t, 0 ); pack->insert( *t, 0 );
t->labeltype( FL_NO_LABEL );
resize(); resize();
} }