From ed77213c0dc946db6cb5d183e1272164502b8680 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 11 Mar 2011 13:16:39 +0000 Subject: [PATCH] 0021197: EDF 1772 SMESH: Automatic meshing hypothesis - myHypoSetButton->setEnabled( !aHypoSetPopup->isEmpty() && isTabEnabled( Dim3D ) ); + myHypoSetButton->setEnabled( !aHypoSetPopup->isEmpty() ); --- src/SMESHGUI/SMESHGUI_MeshDlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ); } //================================================================================ -- 2.39.2