* 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:
parent
44640422f2
commit
b74af71312
|
@ -1105,8 +1105,7 @@ bool SCH_EDIT_FRAME::SaveProject( bool aSaveAs )
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
RecordERCExclusions(); // ensure ERC Exclusions list is up to date
|
saveProjectSettings();
|
||||||
GetSettingsManager()->SaveProject();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if( !Kiface().IsSingle() )
|
if( !Kiface().IsSingle() )
|
||||||
|
|
|
@ -818,7 +818,7 @@ void PCB_PLUGIN::format( const PCB_DIMENSION_BASE* aDimension, int aNestLevel )
|
||||||
m_out->Quotew( aDimension->GetSuffix() ).c_str(),
|
m_out->Quotew( aDimension->GetSuffix() ).c_str(),
|
||||||
static_cast<int>( aDimension->GetUnitsMode() ),
|
static_cast<int>( aDimension->GetUnitsMode() ),
|
||||||
static_cast<int>( aDimension->GetUnitsFormat() ),
|
static_cast<int>( aDimension->GetUnitsFormat() ),
|
||||||
aDimension->GetPrecision() );
|
static_cast<int>( aDimension->GetPrecision() ) );
|
||||||
|
|
||||||
if( aDimension->GetOverrideTextEnabled() )
|
if( aDimension->GetOverrideTextEnabled() )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue