DRC tool: Ensure all calls to the dialog are guarded by null checks
This commit is contained in:
parent
6020b70596
commit
542f447daa
|
@ -209,10 +209,12 @@ void DRC_TOOL::RunTests( PROGRESS_REPORTER* aProgressReporter, bool aTestTracksA
|
|||
m_drcEngine->ClearViolationHandler();
|
||||
|
||||
if( m_drcDialog )
|
||||
{
|
||||
m_drcDialog->SetDrcRun();
|
||||
|
||||
if( !netlist.IsEmpty() )
|
||||
m_drcDialog->SetFootprintTestsRun();
|
||||
}
|
||||
|
||||
commit.Push( _( "DRC" ), false );
|
||||
|
||||
|
|
Loading…
Reference in New Issue