Fixed event cascade causing significant slow down when updating the
settings panel git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@600 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
17f9e338cb
commit
8facde1b30
1 changed files with 3 additions and 0 deletions
|
@ -927,6 +927,9 @@ class SettingsPanel extends JPanel implements ISettingsPanel {
|
|||
}
|
||||
|
||||
public void setChoices(List<Type> playerTypeChoices) {
|
||||
if (playerTypeChoices.equals(this.playerTypeChoices)) {
|
||||
return;
|
||||
}
|
||||
this.playerTypeChoices = playerTypeChoices;
|
||||
|
||||
Vector<String> choices = new Vector<String>();
|
||||
|
|
Reference in a new issue