Commit 33dcef69 authored by Dick Hollenbeck's avatar Dick Hollenbeck

fix

parent d11d9250
......@@ -749,7 +749,7 @@ void CVPCB_MAINFRAME::DisplayStatus()
bool CVPCB_MAINFRAME::LoadFootprintFiles()
{
// Check if there are footprint libraries in the footprint library table.
if( m_footprintLibTable == NULL || m_footprintLibTable->GetCount() == 0 )
if( m_footprintLibTable == NULL || !m_footprintLibTable->GetLogicalLibs().size() )
{
wxMessageBox( _( "No PCB footprint libraries are listed in the current footprint "
"library table." ), _( "Configuration Error" ), wxOK | wxICON_ERROR );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment