0021197: EDF 1772 SMESH: Automatic meshing hypothesis

-  myHypoSetButton->setEnabled( !aHypoSetPopup->isEmpty() && isTabEnabled( Dim3D ) );
+  myHypoSetButton->setEnabled( !aHypoSetPopup->isEmpty() );
This commit is contained in:
eap 2011-03-11 13:16:39 +00:00
parent 8b054381e1
commit ed77213c0d

View 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() );
}
//================================================================================