mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-13 05:46:59 -04:00
Fix stackoverflow
This commit is contained in:
parent
90ab9c088e
commit
38027fc5af
@ -1120,7 +1120,9 @@ public final class GameSettingsPanel extends AnimatedPanel implements DropTarget
|
|||||||
|
|
||||||
isLoading = false;
|
isLoading = false;
|
||||||
if (index < cboProfiles.getItemCount()) {
|
if (index < cboProfiles.getItemCount()) {
|
||||||
|
isLoading = true;
|
||||||
cboProfiles.setSelectedIndex(index);
|
cboProfiles.setSelectedIndex(index);
|
||||||
|
isLoading = false;
|
||||||
prepare(getProfile());
|
prepare(getProfile());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user