Fix a crash bug on quitting on OSX.
This commit is contained in:
parent
a4f83073e3
commit
8eb2e986cf
|
@ -273,8 +273,9 @@ bool EDA_BASE_FRAME::ProcessEvent( wxEvent& aEvent )
|
|||
if( !wxFrame::ProcessEvent( aEvent ) )
|
||||
return false;
|
||||
|
||||
if( IsShown() && m_hasAutoSave && IsActive() &&
|
||||
(m_autoSaveState != isAutoSaveRequired()) && (m_autoSaveInterval > 0) )
|
||||
if( !m_isClosing && m_hasAutoSave && IsShown() && IsActive()
|
||||
&& m_autoSaveState != isAutoSaveRequired()
|
||||
&& m_autoSaveInterval > 0 )
|
||||
{
|
||||
if( !m_autoSaveState )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue