Salome HOME
0020279: [CEA 334] control the "random" use when using mesh algorithms
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_MeshOp.cxx
index c578defe32fd16ceb86aeaaa112b1d0f55e73f8a..ae29fc4b167d01e90325338a9e9be1c321ee33c2 100644 (file)
@@ -1585,7 +1585,7 @@ int SMESHGUI_MeshOp::currentHyp( const int theDim, const int theHypType ) const
 //================================================================================
 bool SMESHGUI_MeshOp::isAccessibleDim( const int theDim ) const
 {
-  return myDlg->tab( theDim )->isEnabled();
+  return myDlg->isTabEnabled( theDim );
 }
 
 //================================================================================