Fix to a NatTable-based graph explorer issue (fixes #7787) 07/1507/1
authorReino Ruusu <reino.ruusu@vtt.fi>
Tue, 27 Feb 2018 14:38:52 +0000 (16:38 +0200)
committerReino Ruusu <reino.ruusu@vtt.fi>
Tue, 27 Feb 2018 14:38:52 +0000 (16:38 +0200)
Change-Id: I53e073f06fe4f487e2145879d8c545292a5de08d

bundles/org.simantics.browsing.ui.nattable/src/org/simantics/browsing/ui/nattable/GEColumnAccessor.java

index b25e28129d8cb6fb9bf8cebc474c49b1f76dd3c3..0e2a365a2f5b6598cfefaede294bdfe6b3bea065 100644 (file)
@@ -38,7 +38,7 @@ public class GEColumnAccessor implements IColumnPropertyAccessor<TreeNode> {
                Modifier modifier = ge.getModifier(rowObject, columnIndex);
                if (modifier == null)
                        throw new IllegalArgumentException("Items is not modifiable");
-               modifier.modify(newValue.toString());
+               modifier.modify(newValue != null ? newValue.toString() : "");
        }