* Eeschema: save worksheet filename in project file.

The call to saveProjectSettings() was missing.
From master branch, commit b96f3d085c
Fixes #14219
https://gitlab.com/kicad/code/kicad/issues/14219
Fix also a minor compil warning
This commit is contained in:
jean-pierre charras 2023-04-20 09:22:33 +02:00
parent 44640422f2
commit b74af71312
2 changed files with 2 additions and 3 deletions

View File

@ -1105,8 +1105,7 @@ bool SCH_EDIT_FRAME::SaveProject( bool aSaveAs )
}
else
{
RecordERCExclusions(); // ensure ERC Exclusions list is up to date
GetSettingsManager()->SaveProject();
saveProjectSettings();
}
if( !Kiface().IsSingle() )

View File

@ -818,7 +818,7 @@ void PCB_PLUGIN::format( const PCB_DIMENSION_BASE* aDimension, int aNestLevel )
m_out->Quotew( aDimension->GetSuffix() ).c_str(),
static_cast<int>( aDimension->GetUnitsMode() ),
static_cast<int>( aDimension->GetUnitsFormat() ),
aDimension->GetPrecision() );
static_cast<int>( aDimension->GetPrecision() ) );
if( aDimension->GetOverrideTextEnabled() )
{