Browse Source

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

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/14861
newinvert
Mike Williams 3 years ago
parent
commit
0eb45a7f27
  1. 3
      eeschema/dialogs/dialog_symbol_fields_table.cpp

3
eeschema/dialogs/dialog_symbol_fields_table.cpp

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

Loading…
Cancel
Save