Salome HOME
[HYDRO] Lot 16: Allow resizing Order of sub-meshes dialog
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_MeshOrderOp.cxx
index 33a0b8b4a7ecfb08d6f6c1a3177c864b51ab85f4..1f7c71067b9ac6fd0a03ca3072a5d144523d3a52 100644 (file)
@@ -52,7 +52,7 @@ SMESHGUI_MeshOrderOp::SMESHGUI_MeshOrderOp()
 {
   myDlg = new SMESHGUI_MeshOrderDlg( desktop() );
   
-  myHelpFileName = "constructing_meshes_page.html#mesh_order_anchor";
+  myHelpFileName = "constructing_meshes.html#mesh-order-anchor";
 }
 
 //================================================================================
@@ -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;