Browse Source

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

Fixes https://gitlab.com/kicad/code/kicad/issues/9172
6.0.7
Jeff Young 4 years ago
parent
commit
6ea7e59991
  1. 2
      pcbnew/dialogs/dialog_gendrill.cpp
  2. 4
      pcbnew/exporters/gendrill_Excellon_writer.cpp
  3. 2
      pcbnew/exporters/gendrill_file_writer_base.cpp
  4. 4
      pcbnew/exporters/gendrill_gerber_writer.cpp

2
pcbnew/dialogs/dialog_gendrill.cpp

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

4
pcbnew/exporters/gendrill_Excellon_writer.cpp

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

2
pcbnew/exporters/gendrill_file_writer_base.cpp

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

4
pcbnew/exporters/gendrill_gerber_writer.cpp

@ -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…
Cancel
Save