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:
Jeff Young 2021-02-27 20:27:32 +00:00
parent 2606ecc619
commit 790e97a398
1 changed files with 1 additions and 4 deletions

View File

@ -306,7 +306,7 @@ void DIALOG_ERC::OnRunERCClick( wxCommandEvent& event )
if( m_cancelled )
m_messages->Report( _( "-------- ERC cancelled by user.<br><br>" ), RPT_SEVERITY_INFO );
else
m_messages->Report( _( "Done.<br><br>" ), RPT_SEVERITY_INFO );
m_messages->Report( _( "ERC completed.<br><br>" ), RPT_SEVERITY_INFO );
Raise();
wxYield(); // Allow time slice to refresh Messages
@ -424,9 +424,6 @@ void DIALOG_ERC::testErc()
}
m_parent->GetCanvas()->Refresh();
// Display message
Report( _( "Done.<br><br>" ) );
}