Author: jflesch
Date: 2007-07-30 10:28:50 +0000 (Mon, 30 Jul 2007)
New Revision: 14437

Modified:
   trunk/apps/Thaw/src/thaw/plugins/miniFrost/frostKSK/KSKBoardAttachment.java
Log:
Fix the boards attachments again

Modified: 
trunk/apps/Thaw/src/thaw/plugins/miniFrost/frostKSK/KSKBoardAttachment.java
===================================================================
--- trunk/apps/Thaw/src/thaw/plugins/miniFrost/frostKSK/KSKBoardAttachment.java 
2007-07-30 10:16:15 UTC (rev 14436)
+++ trunk/apps/Thaw/src/thaw/plugins/miniFrost/frostKSK/KSKBoardAttachment.java 
2007-07-30 10:28:50 UTC (rev 14437)
@@ -69,18 +69,18 @@

        public String[] getProperties() {
                /* DIRTY :p */
-               if (publicKey == null) {
+               if (publicKey == null && boardName != null) {
                        return new String[] {
                                "Name",
                                "description",
                        };
-               } else if (privateKey == null) {
+               } else if (privateKey == null && boardName != null) {
                        return new String[] {
                                "Name",
                                "pubKey",
                                "description"
                        };
-               } else {
+               } else { /* if this attachment is empty or if we have all the 
values */
                        return new String[] {
                                "Name",
                                "pubKey",


Reply via email to