Don't close blocking dialog in backannotate
Back annotate is called from a dialog, so this will close itself but not exit, locking the UI
This commit is contained in:
parent
0ad2726f31
commit
28876bef90
|
@ -112,9 +112,6 @@ bool BACK_ANNOTATE::FetchNetlistFromPCB( std::string& aNetlist )
|
||||||
frame->OpenProjectFiles( std::vector<wxString>( 1, fn.GetFullPath() ) );
|
frame->OpenProjectFiles( std::vector<wxString>( 1, fn.GetFullPath() ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
if( wxWindow* blocking_win = frame->Kiway().GetBlockingDialog() )
|
|
||||||
blocking_win->Close( true );
|
|
||||||
|
|
||||||
m_frame->Kiway().ExpressMail( FRAME_PCB_EDITOR, MAIL_PCB_GET_NETLIST, aNetlist );
|
m_frame->Kiway().ExpressMail( FRAME_PCB_EDITOR, MAIL_PCB_GET_NETLIST, aNetlist );
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue