Don't remove converted files in local settings

When migrating local settings, we don't want to remove files that we
converted from as these settings will be created on demand and don't
represent the totality of user settings

Fixes https://gitlab.com/kicad/code/kicad/issues/9905
This commit is contained in:
Seth Hillbrand 2021-12-08 09:28:37 -08:00
parent 0dad504e91
commit 3180764309
1 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,9 @@ PROJECT_LOCAL_SETTINGS::PROJECT_LOCAL_SETTINGS( PROJECT* aProject, const wxStrin
m_SelectionFilter(),
m_project( aProject )
{
// Keep old files around
m_deleteLegacyAfterMigration = false;
m_params.emplace_back( new PARAM_LAMBDA<std::string>( "board.visible_layers",
[&]() -> std::string
{