From 47739a37839c4384820800e1c993c2ac32869b88 Mon Sep 17 00:00:00 2001 From: Marc Beyer Date: Mon, 31 Jan 2022 20:58:18 +0100 Subject: [PATCH] Fixed edit events --- client/app/src/main/java/main/MainController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/app/src/main/java/main/MainController.java b/client/app/src/main/java/main/MainController.java index 45c8f68..8e3c433 100644 --- a/client/app/src/main/java/main/MainController.java +++ b/client/app/src/main/java/main/MainController.java @@ -156,11 +156,11 @@ public class MainController { private void addEvent(Event event) { EventPane eventPane = new EventPane(event); eventPane.getEditBtn().setOnAction(event1 -> MainApplication.loadScene( + "Termin bearbeiten", "edit-event.fxml", "create-event.css", - "Termin bearbeiten", - 600, - 600, + 650, + 650, fxmlLoader -> { EditEventController editEventController = fxmlLoader.getController(); editEventController.setCurrentEvent(event);