Xcos MVC: blk.model.blocktype is a string
[scilab.git] / scilab / modules / scicos / src / cpp / Model_getObjectProperties.cpp
index 1b1ec46..b26686e 100644 (file)
@@ -95,9 +95,6 @@ bool Model::getObjectProperty(ScicosID uid, kind_t k, object_properties_t p, int
             case SIM_FUNCTION_API:
                 o->getSimFunctionApi(v);
                 return true;
-            case SIM_BLOCKTYPE:
-                o->getSimBlocktype(v);
-                return true;
             case NZCROSS:
                 o->getNZcross(v);
                 return true;
@@ -218,6 +215,9 @@ bool Model::getObjectProperty(ScicosID uid, kind_t k, object_properties_t p, std
             case SIM_FUNCTION_NAME:
                 o->getSimFunctionName(v);
                 return true;
+            case SIM_BLOCKTYPE:
+                o->getSimBlocktype(v);
+                return true;
             case STYLE:
                 o->getStyle(v);
                 return true;