]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
NatTable based GraphExplorer does not process empty selections 13/4913/2
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Mon, 23 May 2022 11:36:40 +0000 (14:36 +0300)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Tue, 24 May 2022 06:37:55 +0000 (06:37 +0000)
gitlab #843

Change-Id: I1d2997b5c33b3abf569052ae95ee63580a13df93

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

index c05b3b4084dc772a7a06e8e37e62957241a2cb87..e6aaf51b24d504546043b64297c7510830c1e4b9 100644 (file)
@@ -1481,8 +1481,7 @@ public class NatTableGraphExplorer extends GraphExplorerImplBase implements Grap
                                nodes.add(match.get(0));
                }
                final ISelection sel = new StructuredSelection(nodes.toArray());
-               if (coll.size() == 0)
-                       return;
+               
             // Schedule viewer and selection update if necessary.
             if (natTable.isDisposed())
                 return;