Gerbview: Fix a compil issue I created when copying a fix from the master branch
This commit is contained in:
parent
1d05076761
commit
6e1d45c79e
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue