EEschema, minor fix: avoid modifying frame title after an autosave.
Fixes #8411 https://gitlab.com/kicad/code/kicad/issues/8411
This commit is contained in:
parent
6f9dbd3548
commit
64afa3a42e
|
@ -931,6 +931,8 @@ bool SCH_EDIT_FRAME::doAutoSave()
|
|||
if( !IsWritable( tmp ) )
|
||||
return false;
|
||||
|
||||
wxString title = GetTitle(); // Save frame title, that can be modified by the save process
|
||||
|
||||
for( size_t i = 0; i < screens.GetCount(); i++ )
|
||||
{
|
||||
// Only create auto save files for the schematics that have been modified.
|
||||
|
@ -963,6 +965,8 @@ bool SCH_EDIT_FRAME::doAutoSave()
|
|||
}
|
||||
}
|
||||
|
||||
SetTitle( title );
|
||||
|
||||
return autoSaveOk;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue