]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Qt4 porting: 2D Algorithms are active when Mesh on Vertex is created or edited.
authordmv <dmv@opencascade.com>
Wed, 15 Oct 2008 13:01:01 +0000 (13:01 +0000)
committerdmv <dmv@opencascade.com>
Wed, 15 Oct 2008 13:01:01 +0000 (13:01 +0000)
src/SMESHGUI/SMESHGUI_MeshDlg.cxx

index bedaa5ef5ac16a6874559e030d14509c9e43edee..efa644e5675b216e835b3ce086aa2bf18f9d9c83 100644 (file)
@@ -484,7 +484,7 @@ void SMESHGUI_MeshDlg::setMaxHypoDim( const int maxDim )
   }
   // deselect desabled tab
   if ( !myTabWg->isTabEnabled( myTabWg->currentIndex() ) )
-    setCurrentTab( DIM - 1 );
+    setCurrentTab( DIM );
 }
 
 //================================================================================