avoid unnecessary level updates
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@248 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -460,6 +460,10 @@ private:
|
||||
|
||||
void setLevel( int _level )
|
||||
{
|
||||
if( m_curLevel == _level )
|
||||
{
|
||||
return;
|
||||
}
|
||||
saveJournallingState( FALSE );
|
||||
m_automation_pattern->setUpdateFirst( FALSE );
|
||||
setValue( _level * m_step );
|
||||
|
||||
Reference in New Issue
Block a user