mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-12 03:37:27 +07:00
fix newline
This commit is contained in:
parent
eedb90ed16
commit
bdc69249bb
@ -129,7 +129,7 @@ public class SchematicsDialog extends BaseDialog{
|
||||
buttons.button("@cancel", this::hide);
|
||||
|
||||
keyDown(KeyCode.enter, () -> {
|
||||
if(!nameField.getText().isEmpty()){
|
||||
if(!nameField.getText().isEmpty() && Core.scene.getKeyboardFocus() != descripionField){
|
||||
accept.run();
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user