diff --git a/src/main/java/PatientController.java b/src/main/java/PatientController.java
index 1c64454..a22d44e 100644
--- a/src/main/java/PatientController.java
+++ b/src/main/java/PatientController.java
@@ -103,6 +103,7 @@ public void displayImage() {
public void startSearch(){
if (this.displayState == state.PATIENT_DEFAULT){//switch state
searchAnchorPane.setVisible(true);
+ patientImageView.setImage(imageView.getImage());
this.displayState = state.PATIENT_SEARCH;
displayImage();
}
@@ -126,6 +127,7 @@ public void exitSearch(){
*/
public void search () {
clearSearchDisplay();
+ patientImageView.setImage(imageView.getImage());
String search = searchBar.getText();
if (!search.isEmpty()) {
options.setVisible(true);
diff --git a/src/main/resources/PatientDisplay.fxml b/src/main/resources/PatientDisplay.fxml
index 300828c..567d355 100644
--- a/src/main/resources/PatientDisplay.fxml
+++ b/src/main/resources/PatientDisplay.fxml
@@ -33,14 +33,19 @@
-
+
-
+
+
+
+
+
+