diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-06-13 22:29:28 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-06-13 22:29:28 +0200 |
commit | 570187c95000afd1ac9f6d6e8bb5cab30b984e87 (patch) | |
tree | cd6ed34d64da7621545d66c9f1126c723645b58f /src/jrummikub/view/impl/GameListPanel.java | |
parent | 741a94953f2d4667de564d8ade37e68a04442fe0 (diff) | |
download | JRummikub-570187c95000afd1ac9f6d6e8bb5cab30b984e87.tar JRummikub-570187c95000afd1ac9f6d6e8bb5cab30b984e87.zip |
Implemented most of network settings control
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@425 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/view/impl/GameListPanel.java')
-rw-r--r-- | src/jrummikub/view/impl/GameListPanel.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jrummikub/view/impl/GameListPanel.java b/src/jrummikub/view/impl/GameListPanel.java index 99807f8..28c7634 100644 --- a/src/jrummikub/view/impl/GameListPanel.java +++ b/src/jrummikub/view/impl/GameListPanel.java @@ -187,7 +187,7 @@ class GameListPanel extends JPanel implements IGameListPanel { int index, boolean isSelected, boolean cellHasFocus) { String host = "", playerCount = ""; - if (value instanceof GameData) { + if (value instanceof GameData && ((GameData)value).getGameSettings() != null) { GameData gameData = (GameData) value; host = gameData.getHost(); |