Fixed double EndModal() assert in the Global Deletion dialog.
This commit is contained in:
parent
36d3d9f78e
commit
6451fcf174
|
@ -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;
|
||||
|
||||
|
@ -260,6 +260,4 @@ void DIALOG_GLOBAL_DELETION::AcceptPcbDelete( )
|
|||
|
||||
m_Parent->GetCanvas()->Refresh();
|
||||
m_Parent->OnModify();
|
||||
|
||||
EndModal( 1 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue