Browse Source

Use create-if-missing behaviour for layers map.

Fixes https://gitlab.com/kicad/code/kicad/issues/8618
6.0.7
Jeff Young 5 years ago
parent
commit
24bf5d3c5c
  1. 2
      gerbview/gerbview_settings.cpp

2
gerbview/gerbview_settings.cpp

@ -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…
Cancel
Save