Fix loading legacy (until 2009) schematic files.
(cherry picked from commit b87496b834
)
This commit is contained in:
parent
8f4b809599
commit
0547c7ba91
|
@ -353,6 +353,8 @@ void SCH_LEGACY_PLUGIN::LoadContent( LINE_READER& aReader, SCH_SCREEN* aScreen,
|
||||||
aScreen->Append( loadText( aReader ) );
|
aScreen->Append( loadText( aReader ) );
|
||||||
else if( strCompare( "BusAlias", line ) )
|
else if( strCompare( "BusAlias", line ) )
|
||||||
aScreen->AddBusAlias( loadBusAlias( aReader, aScreen ) );
|
aScreen->AddBusAlias( loadBusAlias( aReader, aScreen ) );
|
||||||
|
else if( strCompare( "Kmarq", line ) )
|
||||||
|
continue; // Ignore legacy (until 2009) ERC marker entry
|
||||||
else if( strCompare( "$EndSCHEMATC", line ) )
|
else if( strCompare( "$EndSCHEMATC", line ) )
|
||||||
return;
|
return;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue