diff --git a/pcbnew/files.cpp b/pcbnew/files.cpp index 6833f59cfb..abb48d446f 100644 --- a/pcbnew/files.cpp +++ b/pcbnew/files.cpp @@ -49,6 +49,7 @@ #include #include #include +#include #include #include #include @@ -633,9 +634,13 @@ bool PCB_EDIT_FRAME::OpenProjectFiles( const std::vector& aFileSet, in SetBoard( loadedBoard ); - // On save; design settings will be removed from the board if( loadedBoard->m_LegacyDesignSettingsLoaded ) + { + Prj().GetProjectFile().NetSettings().ResolveNetClassAssignments( true ); + + // On save; design settings will be removed from the board loadedBoard->SetModified(); + } // Move legacy view settings to local project settings if( !loadedBoard->m_LegacyVisibleLayers.test( Rescue ) )