Fix overzealous detection "Warning: No net for component".
- Previously a warning was generated even for not connectable pads
(pads not on copper layers or without pad name).
- The test is now optional and is disabled by default.
(pads without corresponding pin is schematics are a frequent case)
Fixes: lp:1852444
https://bugs.launchpad.net/kicad/+bug/1852444
m_cbWarnNoNetPad=newwxCheckBox(sbSizer1->GetStaticBox(),wxID_ANY,_("Warn for no net pads"),wxDefaultPosition,wxDefaultSize,0);
m_cbWarnNoNetPad->SetToolTip(_("Display a warning if a pad in a footprint does not appear in netlist.\nOnly pads on a copper layer and having a name are tested."));
<property name="tooltip">Display a warning if a pad in a footprint does not appear in netlist.
Only pads on a copper layer and having a name are tested.</property>
wxStringm_matchByTimestampChoices[]={_("Update footprint references to match any changed symbol references"),_("Update footprint associations by existing references")};
m_matchByTimestamp->SetToolTip(_("The first option uses the existing links between symbols and their footprints to update the footprints based on changes made to their symbols. \n\nThe second option uses the symbol and footprint references to establish a new set of links between symbols and footprints, and then updates the footprints accordingly."));
m_cbUpdateFootprints=newwxCheckBox(sbSizer1->GetStaticBox(),wxID_ANY,_("Replace footprints of symbols whose footprint assignments have changed"),wxDefaultPosition,wxDefaultSize,0);
m_cbUpdateFootprints->SetToolTip(_("Normally footprints on the board should be changed to match footprint assignment changes made in the schematic. Uncheck this only if you don't want to change existing footprints on the board."));
m_cbDeleteExtraFootprints=newwxCheckBox(sbSizer1->GetStaticBox(),wxID_ANY,_("Delete footprints with no associated symbol"),wxDefaultPosition,wxDefaultSize,0);
m_cbDeleteExtraFootprints->SetToolTip(_("Remove from the board not locked footprints, \nif they are not attached to a schematic symbol."));
m_cbDeleteSinglePadNets=newwxCheckBox(sbSizer1->GetStaticBox(),wxID_ANY,_("Delete nets containing only a single pad"),wxDefaultPosition,wxDefaultSize,0);
m_cbDeleteSinglePadNets->SetToolTip(_("Clear the net name of pads when there is only one pad belonging to this net."));
m_cbWarnNoNetPad=newwxCheckBox(sbSizer1->GetStaticBox(),wxID_ANY,_("Warn for no net pads"),wxDefaultPosition,wxDefaultSize,0);
m_cbWarnNoNetPad->SetValue(true);
m_cbWarnNoNetPad->SetToolTip(_("Display a warning if a pad in a footprint does not appear in netlist.\nOnly pads on a copper layer and having a name are tested."));
<property name="tooltip">Display a warning if a pad in a footprint does not appear in netlist.
Only pads on a copper layer and having a name are tested.</property>
DIALOG_UPDATE_PCB_BASE(wxWindow*parent,wxWindowIDid=wxID_ANY,constwxString&title=_("Update PCB from Schematic"),constwxPoint&pos=wxDefaultPosition,constwxSize&size=wxSize(-1,-1),longstyle=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER);
DIALOG_UPDATE_PCB_BASE(wxWindow*parent,wxWindowIDid=wxID_ANY,constwxString&title=_("Update PCB from Schematic"),constwxPoint&pos=wxDefaultPosition,constwxSize&size=wxSize(-1,-1),longstyle=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER);