This commit is contained in:
Volker Fischer 2013-02-11 17:55:36 +00:00
parent bf29e47764
commit 64c647a2a3

View File

@ -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 );