Fix leftover modification of file history
This commit is contained in:
parent
c6e388db14
commit
e4c20e0ac9
|
@ -146,11 +146,7 @@ bool PGM_KICAD::OnPgmInit()
|
|||
wxString last_pro = settings->m_OpenProjects.front();
|
||||
settings->m_OpenProjects.erase( settings->m_OpenProjects.begin() );
|
||||
|
||||
if( !wxFileExists( last_pro ) )
|
||||
{
|
||||
frame->GetFileHistory().RemoveFileFromHistory( 0 );
|
||||
}
|
||||
else
|
||||
if( wxFileExists( last_pro ) )
|
||||
{
|
||||
// Try to open the last opened project,
|
||||
// if a project name is not given when starting Kicad
|
||||
|
|
Loading…
Reference in New Issue