From: Reino Ruusu Date: Tue, 27 Feb 2018 14:38:52 +0000 (+0200) Subject: Fix to a NatTable-based graph explorer issue (fixes #7787) X-Git-Tag: v1.43.0~136^2~578 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F07%2F1507%2F1;p=simantics%2Fplatform.git Fix to a NatTable-based graph explorer issue (fixes #7787) Change-Id: I53e073f06fe4f487e2145879d8c545292a5de08d --- diff --git a/bundles/org.simantics.browsing.ui.nattable/src/org/simantics/browsing/ui/nattable/GEColumnAccessor.java b/bundles/org.simantics.browsing.ui.nattable/src/org/simantics/browsing/ui/nattable/GEColumnAccessor.java index b25e28129..0e2a365a2 100644 --- a/bundles/org.simantics.browsing.ui.nattable/src/org/simantics/browsing/ui/nattable/GEColumnAccessor.java +++ b/bundles/org.simantics.browsing.ui.nattable/src/org/simantics/browsing/ui/nattable/GEColumnAccessor.java @@ -38,7 +38,7 @@ public class GEColumnAccessor implements IColumnPropertyAccessor { 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() : ""); }