Merge pull request #343 from yushijinhun/javafx

修复 defaultJavaPath 不能保存的问题
This commit is contained in:
huanghongxun 2018-06-08 16:06:01 +08:00 committed by GitHub
commit 9fba923a51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -497,6 +497,7 @@ public final class VersionSetting {
gameDirTypeProperty.addListener(listener); gameDirTypeProperty.addListener(listener);
gameDirProperty.addListener(listener); gameDirProperty.addListener(listener);
launcherVisibilityProperty.addListener(listener); launcherVisibilityProperty.addListener(listener);
defaultJavaPathProperty.addListener(listener);
} }
public LaunchOptions toLaunchOptions(File gameDir) throws InterruptedException { public LaunchOptions toLaunchOptions(File gameDir) throws InterruptedException {