From 11c284805cda8206c4b5e1fe9ea1e3217f434b14 Mon Sep 17 00:00:00 2001 From: Chee Jing Jie Date: Thu, 21 Mar 2024 12:55:49 +0800 Subject: [PATCH] Update ModelManager class --- src/main/java/seedu/address/model/ModelManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/seedu/address/model/ModelManager.java b/src/main/java/seedu/address/model/ModelManager.java index e87bf0c9b38..8c87591d2a0 100644 --- a/src/main/java/seedu/address/model/ModelManager.java +++ b/src/main/java/seedu/address/model/ModelManager.java @@ -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); }