Salome HOME
[MEDCalc] Presentation removal
[modules/med.git] / src / MEDCalc / gui / dialogs / DlgInterpolateField.cxx
index 8daf9886bfc68dcf117dc0e2400e50085d5519b3..4ef53c6f2ec3b36cfbb94bec799a0d93e348eaee 100644 (file)
@@ -115,7 +115,7 @@ void DlgInterpolateField::OnSelectMesh() {
     SALOMEDS::SObject_var soMesh = listOfSObject->at(0);
     // _GBO_ TODO: we should test here if it is a mesh (attribute in
     // the sobject)
-    _meshId = _studyEditor->getParameterInt(soMesh,OBJECT_ID);
+    _meshId = _studyEditor->getParameterInt(soMesh,MESH_ID);
     const char * meshname = _studyEditor->getName(soMesh);
     this->ui.txtMesh->setText(QString(meshname));
   }