Also erase KICAD6_TEMPLATE_DIR when library tables are not migrated

That path contains the default library table and should be set to the
latest one in from the installation.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/9660
This commit is contained in:
Roberto Fernandez Bautista 2021-11-17 19:45:08 +00:00
parent 722d3cc2b0
commit bfad40bdcc
1 changed files with 2 additions and 1 deletions

View File

@ -538,6 +538,7 @@ bool SETTINGS_MANAGER::MigrateIfNeeded()
wxT( "KICAD6_SYMBOL_DIR" ),
wxT( "KICAD6_3DMODEL_DIR" ),
wxT( "KICAD6_FOOTPRINT_DIR" ),
wxT( "KICAD6_TEMPLATE_DIR" ), // Stores the default library table to be copied
// Deprecated keys
wxT( "KICAD_PTEMPLATES" ),