Symbol Fields Table: save Select option correctly

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/15857
This commit is contained in:
Mike Williams 2023-10-16 13:41:35 -04:00
parent a2e35aabae
commit 2849388d2e
1 changed files with 1 additions and 1 deletions

View File

@ -1322,7 +1322,7 @@ void DIALOG_SYMBOL_FIELDS_TABLE::OnClose( wxCloseEvent& aEvent )
if( m_radioHighlight->GetValue() )
cfg->m_FieldEditorPanel.selection_mode = 0;
else if( m_radioHighlight->GetValue() )
else if( m_radioSelect->GetValue() )
cfg->m_FieldEditorPanel.selection_mode = 1;
else if( m_radioOff->GetValue() )
cfg->m_FieldEditorPanel.selection_mode = 2;