mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-19 08:46:09 -04:00
alt: change selected version in VersionPage
This commit is contained in:
parent
4bac9380d1
commit
cf1b91ec55
@ -119,6 +119,8 @@ public class VersionPage extends Control implements DecoratorPage {
|
|||||||
public void setVersion(String version, Profile profile) {
|
public void setVersion(String version, Profile profile) {
|
||||||
this.version = version;
|
this.version = version;
|
||||||
this.profile = profile;
|
this.profile = profile;
|
||||||
|
|
||||||
|
profile.setSelectedVersion(version);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void loadVersion(String version, Profile profile) {
|
public void loadVersion(String version, Profile profile) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user