Initialize properties in the right order.
This commit is contained in:
parent
11add2dd63
commit
ef254cfbae
|
@ -68,13 +68,14 @@ Tempo_Point::Tempo_Point ( )
|
|||
Tempo_Point::Tempo_Point ( nframes_t when, float bpm )
|
||||
{
|
||||
_tempo = bpm;
|
||||
_r->start = when;
|
||||
|
||||
_make_label();
|
||||
|
||||
timeline->tempo_track->add( this );
|
||||
timeline->update_tempomap();
|
||||
|
||||
start( when );
|
||||
|
||||
log_create();
|
||||
}
|
||||
|
||||
|
|
|
@ -68,13 +68,13 @@ Time_Point::Time_Point ( ) : _time( 4, 4 )
|
|||
|
||||
Time_Point::Time_Point ( nframes_t when, int bpb, int note ) : _time( bpb, note )
|
||||
{
|
||||
start( when );
|
||||
|
||||
_make_label();
|
||||
|
||||
timeline->time_track->add( this );
|
||||
timeline->update_tempomap();
|
||||
|
||||
start( when );
|
||||
|
||||
log_create();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue