* Bug #15072 fixed: The context was stored as a root diagram attribute instead of...
[scilab.git] / scilab / modules / xcos / src / java / org / scilab / modules / xcos / io / scicos / ScicosParametersElement.java
index 7579faa..f702791 100644 (file)
@@ -91,7 +91,7 @@ public final class ScicosParametersElement extends AbstractElement<ScicosParamet
         /*
          * fill data, if accessible
          */
-        if (local.getKind() == Kind.DIAGRAM) {
+        if (local.getCurrent().getKind() == Kind.DIAGRAM) {
             fillWithThirdFields(local);
 
             try {