Don't handle pin map special case twice

Fixes https://gitlab.com/kicad/code/kicad/-/issues/5385
This commit is contained in:
Jon Evans 2020-08-27 11:25:18 -04:00
parent a08c5c67e3
commit baeb4abd18
1 changed files with 3 additions and 0 deletions

View File

@ -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;