Eeschema: fix typo in files-io.cpp in revert command that deletes .kicad_sch file
Fixes #16114 https://gitlab.com/kicad/code/kicad/-/issues/16114
This commit is contained in:
parent
5cf244dd90
commit
b698ddc82c
|
@ -238,7 +238,7 @@ bool SCH_EDIT_FRAME::OpenProjectFiles( const std::vector<wxString>& aFileSet, in
|
||||||
|
|
||||||
if( ( aCtl & KICTL_REVERT ) )
|
if( ( aCtl & KICTL_REVERT ) )
|
||||||
{
|
{
|
||||||
DeleteAutoSaveFile( fullFileName );
|
DeleteAutoSaveFile( autoSaveFn );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue