Remove non-existant BOM plugins
Fixes https://gitlab.com/kicad/code/kicad/issues/7053
This commit is contained in:
parent
c09dc5abdd
commit
e4c77f3a47
|
@ -332,6 +332,9 @@ void DIALOG_BOM::installGeneratorsList()
|
||||||
// Populate list box
|
// Populate list box
|
||||||
for( unsigned ii = 0; ii < m_generators.size(); ii++ )
|
for( unsigned ii = 0; ii < m_generators.size(); ii++ )
|
||||||
{
|
{
|
||||||
|
if( !m_generators[ii]->GetFile().Exists( wxFILE_EXISTS_REGULAR ) )
|
||||||
|
continue;
|
||||||
|
|
||||||
m_lbGenerators->Append( m_generators[ii]->GetName() );
|
m_lbGenerators->Append( m_generators[ii]->GetName() );
|
||||||
|
|
||||||
if( active_plugin_name == m_generators[ii]->GetName() )
|
if( active_plugin_name == m_generators[ii]->GetName() )
|
||||||
|
|
Loading…
Reference in New Issue