mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Fixed bug where server creation dialog validation was not working
#story[1245]
This commit is contained in:
@@ -44,8 +44,6 @@ public class ServerCreationController implements Initializable {
|
|||||||
|
|
||||||
serverName.setValidators(fieldLengthValidator, fieldRequiredValidator);
|
serverName.setValidators(fieldLengthValidator, fieldRequiredValidator);
|
||||||
|
|
||||||
submitBtn.setOnMouseReleased(event -> validateServerSettings());
|
|
||||||
submitBtn.setOnMouseClicked(event -> submitBtn.setText("CREATING..."));
|
|
||||||
submitBtn.setOnMouseReleased(event -> {
|
submitBtn.setOnMouseReleased(event -> {
|
||||||
Sounds.playButtonClick();
|
Sounds.playButtonClick();
|
||||||
validateServerSettings();
|
validateServerSettings();
|
||||||
|
|||||||
Reference in New Issue
Block a user