From: eap Date: Fri, 11 Mar 2011 13:16:39 +0000 (+0000) Subject: 0021197: EDF 1772 SMESH: Automatic meshing hypothesis X-Git-Tag: StartingPortingMED3~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ed77213c0dc946db6cb5d183e1272164502b8680;p=modules%2Fsmesh.git 0021197: EDF 1772 SMESH: Automatic meshing hypothesis - myHypoSetButton->setEnabled( !aHypoSetPopup->isEmpty() && isTabEnabled( Dim3D ) ); + myHypoSetButton->setEnabled( !aHypoSetPopup->isEmpty() ); --- diff --git a/src/SMESHGUI/SMESHGUI_MeshDlg.cxx b/src/SMESHGUI/SMESHGUI_MeshDlg.cxx index dee5e025f..d2fb70989 100644 --- a/src/SMESHGUI/SMESHGUI_MeshDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshDlg.cxx @@ -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() ); } //================================================================================