Fix off-by-one bug
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@939 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -255,7 +255,7 @@ void fxMixerView::setCurrentFxLine( int _line )
|
||||
{
|
||||
setCurrentFxLine( m_fxChannelViews[_line].m_fxLine );
|
||||
|
||||
m_bankButtons->button( _line / 16 )->click();
|
||||
m_bankButtons->button( (_line-1) / 16 )->click();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user