Deactivate action of button2 if not used

This commit is contained in:
Christoph Atteneder 2022-01-17 10:09:47 +01:00
parent 1f022b9b89
commit fd34053b6b
No known key found for this signature in database
GPG Key ID: CD5DC1C529CDFD3B

View File

@ -1206,6 +1206,7 @@ public class OfferBookView extends ActivatableViewAndModel<GridPane, OfferBookVi
} else {
setGraphic(null);
button.setOnAction(null);
button2.setOnAction(null);
if (tableRow != null) {
tableRow.setOpacity(1);
tableRow.setOnMousePressed(null);