Merge pull request '#26: Bugfix' (#44) from story/medikamente-modul-medikamente-bearbeiten into main
Reviewed-on: #44 Reviewed-by: SZUT-Ole <ole.kueck@hmmh.de>
This commit is contained in:
commit
e4793780fd
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ public class IngredientListCell extends ListCell<Ingredient> {
|
||||||
BUTTON_PADDING_Y,
|
BUTTON_PADDING_Y,
|
||||||
BUTTON_PADDING_X
|
BUTTON_PADDING_X
|
||||||
));
|
));
|
||||||
deleteButton.setOnAction(event -> getListView().getItems().remove(this));
|
deleteButton.setOnAction(event -> getListView().getItems().remove(getItem()));
|
||||||
|
|
||||||
// Calculate Delete Button Width
|
// Calculate Delete Button Width
|
||||||
Text textNode = new Text(deleteButton.getText());
|
Text textNode = new Text(deleteButton.getText());
|
||||||
|
|
Loading…
Reference in a new issue