Skip to content

Commit

Permalink
Merge pull request #136 from jjchee77/Bugfix-QrCodeEdgeCaseFailedGen
Browse files Browse the repository at this point in the history
Bugfix: Edge case causing QR not to generate
  • Loading branch information
baskargopinath authored Mar 21, 2024
2 parents 781294c + 11c2848 commit e8d45e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/seedu/address/model/ModelManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ public void deletePerson(Person target) {

@Override
public void addPerson(Person person) {
addressBook.addPerson(person);
person.generateQrCode();
addressBook.addPerson(person);
updateFilteredPersonList(PREDICATE_SHOW_ALL_PERSONS);
}

Expand Down

0 comments on commit e8d45e7

Please sign in to comment.