Fix "done" message being in wrong place for drill files.
Fixes https://gitlab.com/kicad/code/kicad/issues/9172
This commit is contained in:
parent
3651d7c5e7
commit
6ea7e59991
|
@ -474,6 +474,4 @@ void DIALOG_GENDRILL::OnGenReportFile( wxCommandEvent& event )
|
|||
msg.Printf( _( "Report file '%s' created." ), dlg.GetPath() );
|
||||
m_messagesBox->AppendText( msg );
|
||||
}
|
||||
|
||||
m_messagesBox->AppendText( _( "Done." ) );
|
||||
}
|
||||
|
|
|
@ -125,7 +125,7 @@ void EXCELLON_WRITER::CreateDrillandMapFilesSet( const wxString& aPlotDirectory,
|
|||
if( aReporter )
|
||||
{
|
||||
msg.Printf( _( "Created file '%s'" ), fullFilename );
|
||||
aReporter->Report( msg, RPT_SEVERITY_INFO );
|
||||
aReporter->Report( msg, RPT_SEVERITY_ACTION );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -148,6 +148,8 @@ void EXCELLON_WRITER::CreateDrillandMapFilesSet( const wxString& aPlotDirectory,
|
|||
|
||||
if( aGenMap )
|
||||
CreateMapFilesSet( aPlotDirectory, aReporter );
|
||||
|
||||
aReporter->ReportTail( _( "Done." ), RPT_SEVERITY_INFO );
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -352,7 +352,7 @@ void GENDRILL_WRITER_BASE::CreateMapFilesSet( const wxString& aPlotDirectory,
|
|||
if( aReporter )
|
||||
{
|
||||
msg.Printf( _( "Created file '%s'." ), fullfilename );
|
||||
aReporter->Report( msg, RPT_SEVERITY_INFO );
|
||||
aReporter->Report( msg, RPT_SEVERITY_ACTION );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -109,7 +109,7 @@ void GERBER_WRITER::CreateDrillandMapFilesSet( const wxString& aPlotDirectory, b
|
|||
if( aReporter )
|
||||
{
|
||||
msg.Printf( _( "Created file '%s'." ), fullFilename );
|
||||
aReporter->Report( msg, RPT_SEVERITY_INFO );
|
||||
aReporter->Report( msg, RPT_SEVERITY_ACTION );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -119,6 +119,8 @@ void GERBER_WRITER::CreateDrillandMapFilesSet( const wxString& aPlotDirectory, b
|
|||
|
||||
if( aGenMap )
|
||||
CreateMapFilesSet( aPlotDirectory, aReporter );
|
||||
|
||||
aReporter->ReportTail( _( "Done." ), RPT_SEVERITY_INFO );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue