Fix stackoverflow

This commit is contained in:
huangyuhui 2016-01-03 22:50:58 +08:00
parent 90ab9c088e
commit 38027fc5af

View File

@ -1120,7 +1120,9 @@ public final class GameSettingsPanel extends AnimatedPanel implements DropTarget
isLoading = false;
if (index < cboProfiles.getItemCount()) {
isLoading = true;
cboProfiles.setSelectedIndex(index);
isLoading = false;
prepare(getProfile());
}
}