mirko06854 / ReservationSystemMirko

0 stars 0 forks source link

Bug #5

Closed mirko06854 closed 1 year ago

mirko06854 commented 1 year ago

Problem : When deleting foods for each reservation if the reservation is not selected before deleting ordered food there is a bug

The bug is that one reservation or more keep staying and the food list cannot be seen. So to see the code working properly you must select the reservation and only than select the food, otherwise the system don't see the selection there is such bug.

Do you have any suggestion on how to solve it ? I think it depends on TableView rendering and the way of selecting.

mirko06854 commented 1 year ago

the problem was here:

showOrderedFoodDialog(reservation,reservationDisplay); }

                    I should have added the reservationDisplay that represent the selectedReservation in the GUI.