* Bug #12264 fixed - ENDBLK block threw nullpointer exception when double-clicking...
[scilab.git] / scilab / modules / xcos / src / java / org / scilab / modules / xcos / block / BasicBlock.java
index b90c0de..a975cd9 100644 (file)
@@ -1294,7 +1294,7 @@ public class BasicBlock extends ScilabGraphUniqueObject implements Serializable
 
         // sort children according to the ordering parameter (useful on
         // scilab-5.2.x diagrams)
-        sort(children);
+        sortChildren();
 
         final ScilabDirectHandler handler = ScilabDirectHandler.acquire();
         if (handler == null) {