Eeschema, *.kicad_pro file: Use for the root sheet the canonical name "Root"

Previously, the translated name was stored in file.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19262
This commit is contained in:
jean-pierre charras
2024-12-07 16:04:35 +01:00
parent d1b1ae13f1
commit d51c7372b4
+3 -1
View File
@@ -1198,7 +1198,9 @@ bool SCH_EDIT_FRAME::SaveProject( bool aSaveAs )
wxCHECK2( screen, continue );
sheets.emplace_back( std::make_pair( screen->GetUuid(), sheet->GetName() ) );
// For the root sheet we use the canonical name ( "Root" ) because its name
// cannot be modified by the user
sheets.emplace_back( std::make_pair( screen->GetUuid(), wxT( "Root" ) ) );
}
else
{