From 6c6a3ff4658fad2c3c9a1d8ccfe985029c4e986a Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Sat, 10 Oct 2020 15:05:38 -0400 Subject: [PATCH] Remove API removed in 04c4012e from Python helpers --- pcbnew/swig/pcbnew_scripting_helpers.cpp | 1 - 1 file changed, 1 deletion(-) 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 );