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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user