From 33dcef695ecdc5a1f01bd98e4c49a53072ae6db0 Mon Sep 17 00:00:00 2001 From: Dick Hollenbeck Date: Tue, 21 Jan 2014 09:25:43 -0600 Subject: [PATCH] fix --- cvpcb/cvframe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cvpcb/cvframe.cpp b/cvpcb/cvframe.cpp index 0c8efc66ec..1115b5f2c9 100644 --- a/cvpcb/cvframe.cpp +++ b/cvpcb/cvframe.cpp @@ -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 );