Skip to content

Commit

Permalink
Comments fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Sciaopersone committed Apr 22, 2024
1 parent 4a6b348 commit c361722
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/team/elrant/bubbles/gui/LoginController.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
}
Expand Down

0 comments on commit c361722

Please sign in to comment.