fix: scene Change

This commit is contained in:
Johannes Kantz 2023-02-04 18:28:31 +01:00
parent 681f039b5c
commit e87c7b480a

View File

@ -93,8 +93,6 @@ public class SingUpController {
@FXML
private void onAnmeldenBtClick() throws IOException {
FXMLLoader fxmlLoader = new FXMLLoader(StartViewApplication.class.getResource("login-view.fxml"));
Scene scene = new Scene(fxmlLoader.load(), 950,480);
StartViewApplication.primary.setScene(scene);
StartViewApplication.changeScene("login-view.fxml");
}
}