GTK: Fix settings import paths showing up twice.

This commit is contained in:
Alex 2023-03-19 12:51:37 +03:00
parent afe813cae5
commit b89545e484
1 changed files with 2 additions and 2 deletions

View File

@ -633,12 +633,12 @@ bool SETTINGS_MANAGER::GetPreviousVersionPaths( std::vector<wxString>* aPaths )
wxFileName wxGtkPath;
wxGtkPath.AssignDir( wxS( "~/.config/kicad" ) );
wxGtkPath.MakeAbsolute();
base_paths.emplace_back( wxGtkPath.GetPath() );
base_paths.emplace_back( wxGtkPath );
// We also want to pick up regular flatpak if we are nightly
wxGtkPath.AssignDir( wxS( "~/.var/app/org.kicad.KiCad/config/kicad" ) );
wxGtkPath.MakeAbsolute();
base_paths.emplace_back( wxGtkPath.GetPath() );
base_paths.emplace_back( wxGtkPath );
}
#endif