Set a few more ERCs to be warnings by default
This commit is contained in:
parent
5b1e1075a9
commit
48a67e1ff8
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue