Only enumerate active libraries

This commit is contained in:
Oliver 2017-11-15 20:41:19 +11:00 committed by Wayne Stambaugh
parent f48e868a79
commit 8b140186fe
1 changed files with 4 additions and 1 deletions

View File

@ -367,9 +367,12 @@ std::vector<wxString> LIB_TABLE::GetLogicalLibs()
do
{
for( LIB_TABLE_ROWS_CITER it = cur->rows.begin(); it!=cur->rows.end(); ++it )
{
if( it->GetIsEnabled() )
{
unique.insert( it->GetNickName() );
}
}
} while( ( cur = cur->fallBack ) != 0 );