Gerbview: Fix a compil issue I created when copying a fix from the master branch

This commit is contained in:
jean-pierre charras 2016-10-07 19:23:45 +02:00
parent 1d05076761
commit 6e1d45c79e
1 changed files with 2 additions and 1 deletions

View File

@ -170,7 +170,8 @@ void DIALOG_PRINT_USING_PRINTER::InitValues( )
wxID_ANY, msg ); wxID_ANY, msg );
boxSizer->Add( m_BoxSelectLayer[ii], wxGROW | wxLEFT | wxRIGHT | wxTOP ); boxSizer->Add( m_BoxSelectLayer[ii], wxGROW | wxLEFT | wxRIGHT | wxTOP );
if( images->GetGbrImage( ii ) == NULL ) // Nothing loaded on this draw layer if( g_GERBER_List.GetGbrImage( ii ) == NULL )
// Nothing loaded on this draw layer
m_BoxSelectLayer[ii]->Enable( false ); m_BoxSelectLayer[ii]->Enable( false );
} }