From c3617221613d2880abe5e42edecc240c6308cfaf Mon Sep 17 00:00:00 2001 From: Sciaopersone <98805033+Sciaopersone@users.noreply.github.com> Date: Mon, 22 Apr 2024 10:39:26 +0200 Subject: [PATCH] Comments fixed --- src/main/java/team/elrant/bubbles/gui/LoginController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/team/elrant/bubbles/gui/LoginController.java b/src/main/java/team/elrant/bubbles/gui/LoginController.java index 172e9fc..127c231 100644 --- a/src/main/java/team/elrant/bubbles/gui/LoginController.java +++ b/src/main/java/team/elrant/bubbles/gui/LoginController.java @@ -94,11 +94,11 @@ public void initialize() { logger.warn("Failed to load user information from file."); } password_field_hidden.setOnKeyPressed(event ->{ - if(event.getCode() == KeyCode.ENTER) //when Enter is pressed, call sendMessage + if(event.getCode() == KeyCode.ENTER) //when Enter is pressed, call onSubmitButton onSubmitButtonClick(); }); password_field_visible.setOnKeyPressed(event ->{ - if(event.getCode() == KeyCode.ENTER) //when Enter is pressed, call sendMessage + if(event.getCode() == KeyCode.ENTER) //when Enter is pressed, call onSubmitButton onSubmitButtonClick(); }); }