diff --git a/eeschema/dialogs/dialog_symbol_properties.cpp b/eeschema/dialogs/dialog_symbol_properties.cpp index 4a53d5c1dd..07f781ddf1 100644 --- a/eeschema/dialogs/dialog_symbol_properties.cpp +++ b/eeschema/dialogs/dialog_symbol_properties.cpp @@ -943,6 +943,7 @@ void DIALOG_SYMBOL_PROPERTIES::OnDeleteField( wxCommandEvent& event ) } m_fieldsGrid->CommitPendingChanges( true /* quiet mode */ ); + m_fieldsGrid->ClearSelection(); // Reverse sort so deleting a row doesn't change the indexes of the other rows. selectedRows.Sort( []( int* first, int* second ) { return *second - *first; } );