Skip to content

Commit

Permalink
Merge pull request #86 from xianlinc/bugs
Browse files Browse the repository at this point in the history
Fix bug where Edit command does not edit a Persons Note
  • Loading branch information
JoelChanZhiYang authored Oct 14, 2021
2 parents abcbdc8 + d513030 commit ffaf042
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public EditPersonDescriptor(EditPersonDescriptor toCopy) {
* Returns true if at least one field is edited.
*/
public boolean isAnyFieldEdited() {
return CollectionUtil.isAnyNonNull(name, phone, email, address, tags, insurances);
return CollectionUtil.isAnyNonNull(name, phone, email, address, tags, insurances, note);
}

public void setName(Name name) {
Expand Down

0 comments on commit ffaf042

Please sign in to comment.