Schematic: symbol fields dialog: restore size, not min size

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/14861
This commit is contained in:
Mike Williams 2023-06-01 18:02:17 -04:00
parent 3c3517cc36
commit 0eb45a7f27
1 changed files with 1 additions and 2 deletions

View File

@ -1533,8 +1533,7 @@ void DIALOG_SYMBOL_FIELDS_TABLE::doApplyBomPreset( const BOM_PRESET& aPreset )
m_grid->SetColLabelValue( col, label );
if( cfg->m_FieldEditorPanel.field_widths.count( fieldNameStr ) )
m_grid->SetColMinimalWidth( col,
cfg->m_FieldEditorPanel.field_widths.at( fieldNameStr ) );
m_grid->SetColSize( col, cfg->m_FieldEditorPanel.field_widths.at( fieldNameStr ) );
// Set shown colums
bool show = m_dataModel->GetShowColumn( col );