When running the BOM export in pcbnew on an empty board, a very obtuse "No Modules!" error message is displayed. This patch rewrites it to "Cannot export BOM: there are no footprints in the PCB".
-- Chris
commit c8363cbe351d6a22921da725748e1d599084eb45 Author: Chris Pavlina <[email protected]> Date: Mon Jul 20 14:45:37 2015 -0400 Fix "No Modules!" error message diff --git a/pcbnew/build_BOM_from_board.cpp b/pcbnew/build_BOM_from_board.cpp index 3f1983b..ade7ef2 100644 --- a/pcbnew/build_BOM_from_board.cpp +++ b/pcbnew/build_BOM_from_board.cpp @@ -83,7 +83,7 @@ void PCB_EDIT_FRAME::RecreateBOMFileFromBoard( wxCommandEvent& aEvent ) if( module == NULL ) { - DisplayError( this, _( "No Modules!" ) ); + DisplayError( this, _( "Cannot export BOM: there are no footprints in the PCB" ) ); return; }
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

