Use create-if-missing behaviour for layers map.
Fixes https://gitlab.com/kicad/code/kicad/issues/8618
This commit is contained in:
parent
3269ca3201
commit
24bf5d3c5c
|
@ -111,7 +111,7 @@ bool GERBVIEW_SETTINGS::MigrateFromLegacy( wxConfigBase* aCfg )
|
|||
wxString key;
|
||||
int value = 0;
|
||||
|
||||
At( "gerber_to_pcb_layers" ) = nlohmann::json::array();
|
||||
Set( "gerber_to_pcb_layers", nlohmann::json::array() );
|
||||
|
||||
for( int i = 0; i < GERBER_DRAWLAYERS_COUNT; i++ )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue