diff --git a/pcbnew/swig/pcbnew_scripting_helpers.cpp b/pcbnew/swig/pcbnew_scripting_helpers.cpp index 4aba510723..45cbc1182d 100644 --- a/pcbnew/swig/pcbnew_scripting_helpers.cpp +++ b/pcbnew/swig/pcbnew_scripting_helpers.cpp @@ -189,7 +189,6 @@ bool SaveBoard( wxString& aFileName, BOARD* aBoard, IO_MGR::PCB_FILE_T aFormat ) { aBoard->BuildConnectivity(); aBoard->SynchronizeNetsAndNetClasses(); - aBoard->GetDesignSettings().SetCurrentNetClass( NETCLASS::Default ); IO_MGR::Save( aFormat, aFileName, aBoard, NULL );