diff options
Diffstat (limited to 'src/jrummikub')
-rw-r--r-- | src/jrummikub/view/impl/SettingsPanel.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jrummikub/view/impl/SettingsPanel.java b/src/jrummikub/view/impl/SettingsPanel.java index 7135fe8..4fc33e4 100644 --- a/src/jrummikub/view/impl/SettingsPanel.java +++ b/src/jrummikub/view/impl/SettingsPanel.java @@ -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>(); |