Fix Linux build

This commit is contained in:
Jon Evans 2020-02-29 22:20:29 -05:00
parent 90bd351807
commit 7825809b3a
1 changed files with 4 additions and 4 deletions

View File

@ -135,7 +135,7 @@ bool GERBVIEW_SETTINGS::MigrateFromLegacy( wxConfigBase* aCfg )
id < GERBER_DRAWLAYERS_COUNT + GERBVIEW_LAYER_ID_START; ++i, ++id )
{
key.Printf( "ColorLayer%dEx", i );
migrateLegacyColor( key, id );
migrateLegacyColor( key.ToStdString(), id );
}
Pgm().GetSettingsManager().SaveColorSettings( cs, "gerbview" );