set fictious stream length from status tokens

This commit is contained in:
niels
2015-08-05 21:22:33 +02:00
parent a24a1b1a17
commit e320fcd279

View File

@@ -2236,10 +2236,9 @@ static void update_curve_widget(const char *name)
else
{
lo = 0;
hi = get_nums("stream_length");
hi = info->status_tokens[SAMPLE_MARKER_END];
}
}
update_spin_range( "curve_spinstart", lo, hi, lo );
update_spin_range( "curve_spinend", lo, hi, hi );
@@ -3507,7 +3506,7 @@ static gint load_parameter_info()
}
else
{
int nl = get_nums("stream_length") + 1 ;
int nl = info->status_tokens[SAMPLE_MARKER_END];
update_spin_range( "curve_spinstart", 0, nl, p[ENTRY_KF_START] );
update_spin_range( "curve_spinend", 0,nl, p[ENTRY_KF_END] );
}