bug fix
This commit is contained in:
parent
bf29e47764
commit
64c647a2a3
1 changed files with 2 additions and 2 deletions
|
@ -277,8 +277,8 @@ void CChannelFader::SetInstrumentPicture ( const int iInstrument )
|
|||
CInstPictures::GetResourceReference ( iInstrument );
|
||||
|
||||
// first check if instrument picture is used or not and if it is valid
|
||||
if ( CInstPictures::IsNotUsedInstrument ( iInstrument ) &&
|
||||
( !strCurResourceRef.isEmpty() ) )
|
||||
if ( CInstPictures::IsNotUsedInstrument ( iInstrument ) ||
|
||||
strCurResourceRef.isEmpty() )
|
||||
{
|
||||
// disable instrument picture
|
||||
pInstrument->setVisible ( false );
|
||||
|
|
Loading…
Reference in a new issue