diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/construct/DialogPane.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/construct/DialogPane.java index c98f902e1..0a2e9228d 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/construct/DialogPane.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/construct/DialogPane.java @@ -34,7 +34,7 @@ import static org.jackhuang.hmcl.util.i18n.I18n.i18n; public class DialogPane extends JFXDialogLayout { private final StringProperty title = new SimpleStringProperty(); - private final BooleanProperty valid = new SimpleBooleanProperty(); + private final BooleanProperty valid = new SimpleBooleanProperty(true); protected final SpinnerPane acceptPane = new SpinnerPane(); protected final JFXButton cancelButton = new JFXButton(); protected final Label warningLabel = new Label();