Skip to content

Commit 3ceff9c

Browse files
committed
fix: 修复游戏设置页面自动内存分配UI显示错误的问题
1 parent 1b6d839 commit 3ceff9c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

FCL/src/main/java/com/tungsten/fcl/ui/manage/VersionSettingPage.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,8 @@ public void loadVersion(Profile profile, String versionId) {
325325
scaleFactorSeekbar.progressProperty().bindBidirectional(versionSetting.getScaleFactorProperty());
326326
maxMemory.bindBidirectional(versionSetting.getMaxMemoryProperty());
327327

328+
chkAutoAllocate.setChecked(versionSetting.isAutoMemory());
329+
328330
javaText.setText(versionSetting.getJava().equals("Auto") ? getContext().getString(R.string.settings_game_java_version_auto) : versionSetting.getJava());
329331
Controllers.addCallback(() -> {
330332
controllerText.setText(Controllers.findControllerById(versionSetting.getController()).getName());

0 commit comments

Comments
 (0)