Salome HOME
Correct the scalar bar title for the volume control.
[modules/smesh.git] / src / SMESHGUI / SMESHGUI.cxx
index d802648e4de6e240f19cf1eeb495d5b6adf6d151..c8a76665754cdcd87240d1224b5ff9535d1ad0af 100644 (file)
@@ -300,6 +300,7 @@ namespace{
            SUIT_FileDlg* fd = new SUIT_FileDlg( SMESHGUI::desktop(), false, true, true );
            fd->setCaption( aTitle );
            fd->setFilters( filters );
            SUIT_FileDlg* fd = new SUIT_FileDlg( SMESHGUI::desktop(), false, true, true );
            fd->setCaption( aTitle );
            fd->setFilters( filters );
+           fd->setSelectedFilter( QObject::tr("MED 2.2 (*.med)") );
            bool is_ok = false;
            while(!is_ok){
              fd->exec();
            bool is_ok = false;
            while(!is_ok){
              fd->exec();
@@ -583,7 +584,7 @@ namespace{
            aControl = SMESH_Actor::eSkew;
            break;
          case 6009:
            aControl = SMESH_Actor::eSkew;
            break;
          case 6009:
-           aTitle = QObject::tr( "VOLUME_3D_ELEMENTS" );
+           aTitle = QObject::tr( "SMESH_VOLUME" );
            aControl = SMESH_Actor::eVolume3D;
            break;
          }
            aControl = SMESH_Actor::eVolume3D;
            break;
          }