fix: 修复安装游戏时选择版本后返回已选择的版本会被清除的问题 (#5423)
This commit is contained in:
@@ -60,7 +60,6 @@ import org.jackhuang.hmcl.ui.wizard.Navigation;
|
||||
import org.jackhuang.hmcl.ui.wizard.Refreshable;
|
||||
import org.jackhuang.hmcl.ui.wizard.WizardPage;
|
||||
import org.jackhuang.hmcl.util.NativePatcher;
|
||||
import org.jackhuang.hmcl.util.SettingsMap;
|
||||
import org.jackhuang.hmcl.util.StringUtils;
|
||||
import org.jackhuang.hmcl.util.i18n.I18n;
|
||||
import org.jackhuang.hmcl.util.platform.OperatingSystem;
|
||||
@@ -131,11 +130,6 @@ public final class VersionsPage extends Control implements WizardPage, Refreshab
|
||||
return title;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void cleanup(SettingsMap settings) {
|
||||
settings.remove(libraryId);
|
||||
}
|
||||
|
||||
private void onRefresh() {
|
||||
refresh();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user