From d6448ce6b4a680f42a6889b4eeac0867246bbd5c Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Fri, 8 Jan 2021 15:41:03 -0500 Subject: [PATCH] Expose settings manager to python Fixes https://gitlab.com/kicad/code/kicad/-/issues/6989 --- pcbnew/swig/pcbnew_scripting_helpers.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcbnew/swig/pcbnew_scripting_helpers.h b/pcbnew/swig/pcbnew_scripting_helpers.h index 270cd32568..b45481b0d7 100644 --- a/pcbnew/swig/pcbnew_scripting_helpers.h +++ b/pcbnew/swig/pcbnew_scripting_helpers.h @@ -45,6 +45,8 @@ BOARD* LoadBoard( wxString& aFileName, IO_MGR::PCB_FILE_T aFormat ); // Default LoadBoard() to load .kicad_pcb files:. BOARD* LoadBoard( wxString& aFileName ); +SETTINGS_MANAGER* GetSettingsManager(); + /** * Constructs a default BOARD with a tempoary (no filename) project * @return the created board