Symbol Fields Table: fix broken delete

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/15405
This commit is contained in:
Mike Williams 2023-08-14 08:36:49 -04:00
parent 29796fff9e
commit 63690d4a0b
1 changed files with 1 additions and 2 deletions

View File

@ -687,8 +687,7 @@ void DIALOG_SYMBOL_FIELDS_TABLE::OnRemoveField( wxCommandEvent& event )
m_renameFieldButton->Enable( false ); m_renameFieldButton->Enable( false );
} }
wxGridTableMessage msg( m_dataModel, wxGRIDTABLE_NOTIFY_COLS_DELETED, wxGridTableMessage msg( m_dataModel, wxGRIDTABLE_NOTIFY_COLS_DELETED, col, 1 );
m_fieldsCtrl->GetItemCount(), 1 );
m_grid->ProcessTableMessage( msg ); m_grid->ProcessTableMessage( msg );