Xcos: fix the DSUPER preference over SUPER_f
[scilab.git] / scilab / modules / xcos / src / java / org / scilab / modules / xcos / block / SuperBlock.java
index 8914900..fb051ac 100644 (file)
@@ -70,6 +70,8 @@ public final class SuperBlock extends BasicBlock {
 
     public SuperBlock(JavaController controller, long uid, Kind kind, Object value, mxGeometry geometry, String style, String id) {
         super(controller, uid, kind, value, geometry, style, id);
+
+        controller.setObjectProperty(uid, kind, ObjectProperties.SIM_FUNCTION_NAME, SIMULATION_NAME);
     }
 
     /**