From 18c54643786cf36d50eb1ada850283b23ccf0aa7 Mon Sep 17 00:00:00 2001 From: zoebelle-pang Date: Thu, 4 Apr 2024 22:21:48 +0800 Subject: [PATCH] no message --- src/main/java/seedu/address/ui/MainWindow.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/seedu/address/ui/MainWindow.java b/src/main/java/seedu/address/ui/MainWindow.java index 844b96aa074..4a7c23ec476 100644 --- a/src/main/java/seedu/address/ui/MainWindow.java +++ b/src/main/java/seedu/address/ui/MainWindow.java @@ -189,6 +189,7 @@ public void toggleStudentList() { @FXML public void handleView() { if (!viewWindow.isShowing()) { + viewWindow = new ViewWindow(logic); viewWindow.show(); } else { viewWindow.focus();