Only report "done" once, and be a (bit) more descriptive about it.
Fixes https://gitlab.com/kicad/code/kicad/issues/7743
This commit is contained in:
parent
2606ecc619
commit
790e97a398
|
@ -306,7 +306,7 @@ void DIALOG_ERC::OnRunERCClick( wxCommandEvent& event )
|
||||||
if( m_cancelled )
|
if( m_cancelled )
|
||||||
m_messages->Report( _( "-------- ERC cancelled by user.<br><br>" ), RPT_SEVERITY_INFO );
|
m_messages->Report( _( "-------- ERC cancelled by user.<br><br>" ), RPT_SEVERITY_INFO );
|
||||||
else
|
else
|
||||||
m_messages->Report( _( "Done.<br><br>" ), RPT_SEVERITY_INFO );
|
m_messages->Report( _( "ERC completed.<br><br>" ), RPT_SEVERITY_INFO );
|
||||||
|
|
||||||
Raise();
|
Raise();
|
||||||
wxYield(); // Allow time slice to refresh Messages
|
wxYield(); // Allow time slice to refresh Messages
|
||||||
|
@ -424,9 +424,6 @@ void DIALOG_ERC::testErc()
|
||||||
}
|
}
|
||||||
|
|
||||||
m_parent->GetCanvas()->Refresh();
|
m_parent->GetCanvas()->Refresh();
|
||||||
|
|
||||||
// Display message
|
|
||||||
Report( _( "Done.<br><br>" ) );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue