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 );
|
CInstPictures::GetResourceReference ( iInstrument );
|
||||||
|
|
||||||
// first check if instrument picture is used or not and if it is valid
|
// first check if instrument picture is used or not and if it is valid
|
||||||
if ( CInstPictures::IsNotUsedInstrument ( iInstrument ) &&
|
if ( CInstPictures::IsNotUsedInstrument ( iInstrument ) ||
|
||||||
( !strCurResourceRef.isEmpty() ) )
|
strCurResourceRef.isEmpty() )
|
||||||
{
|
{
|
||||||
// disable instrument picture
|
// disable instrument picture
|
||||||
pInstrument->setVisible ( false );
|
pInstrument->setVisible ( false );
|
||||||
|
|
Loading…
Reference in a new issue