#26: Bugfix #44

Merged
SZUT-Dominik merged 1 commit from story/medikamente-modul-medikamente-bearbeiten into main 2024-05-17 13:53:14 +00:00
Showing only changes of commit 85b6b79d7f - Show all commits

View file

@ -40,7 +40,7 @@ public class IngredientListCell extends ListCell<Ingredient> {
BUTTON_PADDING_Y,
BUTTON_PADDING_X
));
deleteButton.setOnAction(event -> getListView().getItems().remove(this));
deleteButton.setOnAction(event -> getListView().getItems().remove(getItem()));
// Calculate Delete Button Width
Text textNode = new Text(deleteButton.getText());