diff --git a/src/main/java/seedu/address/ui/ReminderListWindow.java b/src/main/java/seedu/address/ui/ReminderListWindow.java index cc51d39e77c..b3db4aa40a1 100644 --- a/src/main/java/seedu/address/ui/ReminderListWindow.java +++ b/src/main/java/seedu/address/ui/ReminderListWindow.java @@ -33,6 +33,7 @@ public ReminderListWindow(Stage root, Logic logic) { this.stage = root; this.logic = logic; reminderList = new ListView<>(logic.getReminderList()); + stage.setScene(new Scene(reminderList)); } /** @@ -96,7 +97,6 @@ protected void updateItem(Reminder item, boolean empty) { } } }); - stage.setScene(new Scene(reminderList)); stage.show(); } }