From 4bec9766f18d5a1f2038f942faaf87dc4b8fa924 Mon Sep 17 00:00:00 2001 From: Reino Ruusu Date: Tue, 27 Feb 2018 16:38:52 +0200 Subject: [PATCH] Fix to a NatTable-based graph explorer issue (fixes #7787) Change-Id: I53e073f06fe4f487e2145879d8c545292a5de08d --- .../org/simantics/browsing/ui/nattable/GEColumnAccessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() : ""); } -- 2.47.1