This function takes an UR_* flag to denote the operation, not an item status. As these constants have the same value, this doesn't change generated code. --- eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp b/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp index d42752e..bcd7f5e 100644 --- a/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp +++ b/eeschema/dialogs/dialog_edit_libentry_fields_in_lib.cpp @@ -266,7 +266,7 @@ void DIALOG_EDIT_LIBENTRY_FIELDS_IN_LIB::OnOKButtonClick( wxCommandEvent& event /* End unused code */ // save old cmp in undo list - m_parent->SaveCopyInUndoList( m_libEntry, IS_CHANGED ); + m_parent->SaveCopyInUndoList( m_libEntry, UR_CHANGED ); // delete any fields with no name or no value before we copy all of m_FieldsBuf // back into the component -- 2.1.4 _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp