From 0f4be942297c36bdc43dc9e97a2a6357779751b4 Mon Sep 17 00:00:00 2001 From: villberg Date: Wed, 21 May 2014 08:16:33 +0000 Subject: [PATCH] refs #4833 git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29523 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../sysdyn/ui/browser/contributions/LibraryContribution.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/browser/contributions/LibraryContribution.java b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/browser/contributions/LibraryContribution.java index e06d1cc1..9101dbf1 100644 --- a/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/browser/contributions/LibraryContribution.java +++ b/org.simantics.sysdyn.ui/src/org/simantics/sysdyn/ui/browser/contributions/LibraryContribution.java @@ -31,7 +31,7 @@ public class LibraryContribution extends ViewpointContributor> result = new ArrayList>(); - if(!(node instanceof ModelNode)) return result; + if(!(node instanceof ModelNode || node instanceof Library)) return result; Layer0 L0 = Layer0.getInstance(graph); if(!graph.isInstanceOf(node.data, L0.SharedOntology)) { -- 2.47.1