Fix "done" message being in wrong place for drill files.

Fixes https://gitlab.com/kicad/code/kicad/issues/9172
This commit is contained in:
Jeff Young 2021-09-19 19:25:41 +01:00
parent 3651d7c5e7
commit 6ea7e59991
4 changed files with 7 additions and 5 deletions

View File

@ -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." ) );
}

View File

@ -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 );
}

View File

@ -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 );
}
}
}

View File

@ -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 );
}