We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b687872 commit 8f4a8a9Copy full SHA for 8f4a8a9
src/ui/AvailabilityStage.java
@@ -69,7 +69,9 @@ public void renderAvailabilityStage() {
69
_onyenField = new TextField(_ui.getCurrentEmployee().getOnyen());
70
} else {
71
_onyenField = new TextField("Enter onyen here");
72
- _onyenField.setOnKeyPressed((event) -> {
+ }
73
+
74
+ _onyenField.setOnKeyPressed((event) -> {
75
if (event.getCode() == KeyCode.ENTER) {
76
getAvailability(null);
77
}
@@ -82,7 +84,7 @@ public void renderAvailabilityStage() {
82
84
Platform.runLater(() -> AvailabilityStage.this._onyenField.selectAll());
83
85
86
});
- }
87
88
topBar.getChildren().add(_onyenField);
89
topBox.getChildren().add(topBar);
90
0 commit comments