Salome HOME
untabify
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_TranslationDlg.cxx
index ff605c6577401b0fcb95e5f65429ad304e2247c3..6956cc9fb63a08ee1f892a31eb9d81c56cccff7b 100644 (file)
@@ -430,7 +430,7 @@ void SMESHGUI_TranslationDlg::ConstructorsClicked (int constructorId)
 
   QApplication::instance()->processEvents();
   updateGeometry();
-  resize( minimumSize() );
+  resize(100,100);
 }
 
 //=================================================================================
@@ -488,7 +488,7 @@ bool SMESHGUI_TranslationDlg::ClickOnApply()
         else
           aMeshEditor->Translate(anElementsId, aVector, false);
        if( !myMesh->_is_nil())
-         myMesh->SetParameters(SMESHGUI::JoinObjectParameters(aParameters));
+         myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
         break;
       case COPY_ELEMS_BUTTON:
         if ( makeGroups ) {
@@ -505,7 +505,7 @@ bool SMESHGUI_TranslationDlg::ClickOnApply()
             aMeshEditor->Translate(anElementsId, aVector, true);
         }
        if( !myMesh->_is_nil())
-         myMesh->SetParameters(SMESHGUI::JoinObjectParameters(aParameters));
+         myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
         break;
       case MAKE_MESH_BUTTON:
         SMESH::SMESH_Mesh_var mesh; 
@@ -516,7 +516,7 @@ bool SMESHGUI_TranslationDlg::ClickOnApply()
           mesh = aMeshEditor->TranslateMakeMesh(anElementsId, aVector, makeGroups,
                                                 LineEditNewMesh->text().toLatin1().data());
        if( !mesh->_is_nil())
-         mesh->SetParameters(SMESHGUI::JoinObjectParameters(aParameters));
+         mesh->SetParameters( aParameters.join(":").toLatin1().constData() );
       }
     } catch (...) {
     }