Improve naming. Fix Argeo namespace base.
[lgpl/argeo-commons.git] / eclipse / org.argeo.cms.swt / src / org / argeo / cms / swt / widgets / SwtTabularPart.java
index af4c68aac9793ff8c8b4eb8199fd6cc1e9760caf..8fd4065ad92bce617dbcd2f195da80ddf6a49320 100644 (file)
@@ -89,7 +89,8 @@ public class SwtTabularPart implements TabularPart {
                        Object data = getData(row);
                        item.setData(data);
                        String text = data != null ? column.getText(data) : "";
-                       item.setText(i, text);
+                       if (text != null)
+                               item.setText(i, text);
                        CmsIcon icon = column.getIcon(data);
                        if (icon != null) {
                                Image image = theme.getSmallIcon(icon);