Commit 0dd040c1 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Use >= instead of == in loopA-B (thanks funman)

parent 66dbf82c
...@@ -316,10 +316,11 @@ void AdvControlsWidget::AtoBLoop( float f_pos, int i_time, int i_length ) ...@@ -316,10 +316,11 @@ void AdvControlsWidget::AtoBLoop( float f_pos, int i_time, int i_length )
{ {
if( timeB ) if( timeB )
{ {
if( i_time == (int)(timeB/1000000) ) if( i_time >= (int)(timeB/1000000) )
var_SetTime( THEMIM->getInput(), "time" , timeA ); var_SetTime( THEMIM->getInput(), "time" , timeA );
} }
} }
/***************************** /*****************************
* DA Control Widget ! * DA Control Widget !
*****************************/ *****************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment