Salome HOME
0021197: EDF 1772 SMESH: Automatic meshing hypothesis
authoreap <eap@opencascade.com>
Fri, 11 Mar 2011 13:16:39 +0000 (13:16 +0000)
committereap <eap@opencascade.com>
Fri, 11 Mar 2011 13:16:39 +0000 (13:16 +0000)
-  myHypoSetButton->setEnabled( !aHypoSetPopup->isEmpty() && isTabEnabled( Dim3D ) );
+  myHypoSetButton->setEnabled( !aHypoSetPopup->isEmpty() );

src/SMESHGUI/SMESHGUI_MeshDlg.cxx

index dee5e025f6d4e074e2bea69ace63166673a64692..d2fb709892f82c193a752c33f770b6f1547b155f 100644 (file)
@@ -511,7 +511,7 @@ void SMESHGUI_MeshDlg::setHypoSets( const QStringList& theSets )
   for ( int i = 0, n = theSets.count(); i < n; i++ ) {
     aHypoSetPopup->addAction( theSets[ i ] );
   }
-  myHypoSetButton->setEnabled( !aHypoSetPopup->isEmpty() && isTabEnabled( Dim3D ) );
+  myHypoSetButton->setEnabled( !aHypoSetPopup->isEmpty() );
 }
 
 //================================================================================