Skip to content

Commit

Permalink
Merge pull request #162 from leepoeaik/master
Browse files Browse the repository at this point in the history
Provide credit for code reuse
  • Loading branch information
justinlengch authored Apr 15, 2024
2 parents 1fb91dd + c0cebff commit ee28833
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/seedu/address/ui/StudentListPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public StudentListPanel(MainWindow mainWindow, ObservableList<Student> studentLi
this.mainWindow = mainWindow;
studentListView.setItems(studentList);
studentListView.setCellFactory(listView -> {
//Solution below inspired by group AY2023/24-T16-1
StudentListViewCell studentCells = new StudentListViewCell();
studentCells.setOnMouseClicked(mouseEvent -> {
StudentListViewCell clicked = (StudentListViewCell) mouseEvent.getSource();
Expand Down

0 comments on commit ee28833

Please sign in to comment.