Xcos: remove block default values
[scilab.git] / scilab / modules / xcos / src / java / org / scilab / modules / xcos / palette / PaletteBlockCtrl.java
index d0ec0ab..3f5a2cc 100644 (file)
@@ -151,7 +151,6 @@ public final class PaletteBlockCtrl {
                        
                        if (block.getStyle().compareTo("") == 0) {
                                block.setStyle(block.getInterfaceFunctionName());
-                               block.setValue(block.getInterfaceFunctionName());
                        }
                } else {
                        block = BlockFactory.createBlock(BlockInterFunction.TEXT_f);