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

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