Don't handle pin map special case twice
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5385
This commit is contained in:
parent
a08c5c67e3
commit
baeb4abd18
|
@ -172,6 +172,9 @@ bool PANEL_SETUP_SEVERITIES::TransferDataToWindow()
|
|||
if( !m_buttonMap[ errorCode ][0] ) // this entry does not actually exist
|
||||
continue;
|
||||
|
||||
if( m_pinMapSpecialCase && errorCode == m_pinMapSpecialCase->GetErrorCode() )
|
||||
continue;
|
||||
|
||||
switch( m_severities[ errorCode ] )
|
||||
{
|
||||
case RPT_SEVERITY_ERROR: m_buttonMap[ errorCode ][0]->SetValue( true ); break;
|
||||
|
|
Loading…
Reference in New Issue