Set a few more ERCs to be warnings by default

This commit is contained in:
Jon Evans 2020-10-25 15:37:29 -04:00
parent 5b1e1075a9
commit 48a67e1ff8
2 changed files with 5 additions and 0 deletions

View File

@ -205,6 +205,9 @@ bool PANEL_SETUP_SEVERITIES::TransferDataFromWindow()
{
int errorCode = item.GetErrorCode();
if( m_pinMapSpecialCase && m_pinMapSpecialCase->GetErrorCode() == errorCode )
continue;
if( !m_buttonMap[ errorCode ][0] ) // this entry does not actually exist
continue;

View File

@ -97,6 +97,8 @@ ERC_SETTINGS::ERC_SETTINGS( JSON_SETTINGS* aParent, const std::string& aPath ) :
m_Severities[ERCE_DRIVER_CONFLICT] = RPT_SEVERITY_WARNING;
m_Severities[ERCE_BUS_ENTRY_CONFLICT] = RPT_SEVERITY_WARNING;
m_Severities[ERCE_LIB_SYMBOL_ISSUES] = RPT_SEVERITY_WARNING;
m_Severities[ERCE_NOCONNECT_CONNECTED] = RPT_SEVERITY_WARNING;
m_Severities[ERCE_NOCONNECT_NOT_CONNECTED] = RPT_SEVERITY_WARNING;
m_params.emplace_back( new PARAM_LAMBDA<nlohmann::json>( "rule_severities",
[&]() -> nlohmann::json