fix newline
This commit is contained in:
@@ -129,7 +129,7 @@ public class SchematicsDialog extends BaseDialog{
|
|||||||
buttons.button("@cancel", this::hide);
|
buttons.button("@cancel", this::hide);
|
||||||
|
|
||||||
keyDown(KeyCode.enter, () -> {
|
keyDown(KeyCode.enter, () -> {
|
||||||
if(!nameField.getText().isEmpty()){
|
if(!nameField.getText().isEmpty() && Core.scene.getKeyboardFocus() != descripionField){
|
||||||
accept.run();
|
accept.run();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user