4f874057ab
s_SettingsManager is not always initialized when the WriteDRCReport is
run. We should first attempt to extract the project from the actual
board being checked. Failing that, we fall back to the static settings manager and then exit if we don't have a project associated.
Fixes https://gitlab.com/kicad/code/kicad/issues/10221
(cherry picked from commit
|
||
---|---|---|
.. | ||
pcb_scripting_tool.cpp | ||
pcb_scripting_tool.h | ||
pcbnew_action_plugins.cpp | ||
pcbnew_action_plugins.h | ||
pcbnew_footprint_wizards.cpp | ||
pcbnew_footprint_wizards.h | ||
pcbnew_scripting.cpp | ||
pcbnew_scripting.h | ||
pcbnew_scripting_helpers.cpp | ||
pcbnew_scripting_helpers.h |