diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/setting/Config.java b/HMCL/src/main/java/org/jackhuang/hmcl/setting/Config.java index 44a3d8d93..7316b0dc8 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/setting/Config.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/setting/Config.java @@ -190,7 +190,7 @@ public final class Config implements Cloneable, Observable { public Config() { // Default override for better-looking logs on Windows if (System.getProperty("os.name").startsWith("Windows")) { - this.fontFamily = new SimpleStringProperty("Consolas"); + this.fontFamily.setValue("Consolas"); } PropertyUtils.attachListener(this, helper); }