From 6de277c226eec622a80e9e206843e32ab0afd88e Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Sat, 4 Sep 2021 12:20:36 -0400 Subject: [PATCH] Fix typo in violation severity importing Fixes https://gitlab.com/kicad/code/kicad/-/issues/9092 --- common/dialogs/panel_setup_severities.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/dialogs/panel_setup_severities.cpp b/common/dialogs/panel_setup_severities.cpp index 5737f86470..9a9ca3f785 100644 --- a/common/dialogs/panel_setup_severities.cpp +++ b/common/dialogs/panel_setup_severities.cpp @@ -179,7 +179,7 @@ void PANEL_SETUP_SEVERITIES::ImportSettingsFrom( std::map& aSetti int newSeverity = aSettings[ pinMapCode ]; m_buttonMap[ pinMapCode ][0]->SetValue( newSeverity != RPT_SEVERITY_IGNORE ); - m_buttonMap[ pinMapCode ][1]->SetValue( newSeverity == RPT_SEVERITY_IGNORE ); + m_buttonMap[ pinMapCode ][2]->SetValue( newSeverity == RPT_SEVERITY_IGNORE ); } }