Salome HOME
[HYDRO] Lot 16: Allow resizing Order of sub-meshes dialog
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_MeshOrderOp.cxx
index 34aaa5b00bfed5a04ce2f5dcba922ba42278575c..1f7c71067b9ac6fd0a03ca3072a5d144523d3a52 100644 (file)
@@ -120,7 +120,7 @@ void SMESHGUI_MeshOrderOp::initDialog()
   if ( !myMgr->GetMeshOrder() ) {
     SUIT_MessageBox::information(desktop(),
                              tr("SMESH_INFORMATION"),
-                             tr("SMESH_NO_CONCURRENT_MESH"));
+                             tr("SMESH_NO_CONCURENT_MESH"));
     
     onCancel();
     return;
@@ -280,7 +280,7 @@ bool SMESHGUI_MeshOrderMgr::SetMeshOrder( const  ListListId& theListListIds )
   if (theListListIds.isEmpty() || myMesh->_is_nil())
     return false;
 
-  _PTR(Study) aStudy = SMESH::GetActiveStudyDocument();
+  _PTR(Study) aStudy = SMESH::getStudy();
   _PTR(SObject) aMeshSObj = SMESH::FindSObject(myMesh);
   if ( !aStudy || !aMeshSObj )
     return false;