Fix stackoverflow
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user