Commit b18e3f53 authored by marco.'s avatar marco.

MacOSX: Fixes the append always beaviour of cvpcb when reading netlists

parent 52541cc1
......@@ -71,6 +71,9 @@ int CVPCB_MAINFRAME::ReadSchematicNetlist()
// True to read footprint filters section: true for CvPcb, false for Pcbnew
netList_Reader.ReadLibpartSectionSetOpt( true );
// on OSX otherwise reloading a file you will see duplicates
m_components.clear();
bool success = netList_Reader.ReadNetList( netfile );
if( !success )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment