when clear()ing, also disable FX-chain (closes #1994482)

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1176 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-06-25 12:43:08 +00:00
parent 29044e0d9c
commit be22b7cd33
2 changed files with 13 additions and 3 deletions

View File

@@ -247,6 +247,7 @@ bool effectChain::isRunning( void )
void effectChain::clear( void )
{
m_enabledModel.setValue( FALSE );
for( int i = 0; i < m_effects.count(); ++i )
{
delete m_effects[i];