Fixed double EndModal() assert in the Global Deletion dialog.

This commit is contained in:
Maciej Suminski 2015-07-15 19:05:59 +02:00
parent 36d3d9f78e
commit 6451fcf174
1 changed files with 1 additions and 3 deletions

View File

@ -88,7 +88,7 @@ void DIALOG_GLOBAL_DELETION::OnCheckDeleteModules( wxCommandEvent& event )
} }
void DIALOG_GLOBAL_DELETION::AcceptPcbDelete( ) void DIALOG_GLOBAL_DELETION::AcceptPcbDelete()
{ {
bool gen_rastnest = false; bool gen_rastnest = false;
@ -260,6 +260,4 @@ void DIALOG_GLOBAL_DELETION::AcceptPcbDelete( )
m_Parent->GetCanvas()->Refresh(); m_Parent->GetCanvas()->Refresh();
m_Parent->OnModify(); m_Parent->OnModify();
EndModal( 1 );
} }