mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-24 16:30:34 +05:00
PAL9787
This commit is contained in:
parent
e84f664198
commit
c8e2bd670e
@ -770,11 +770,12 @@ void SMESHGUI_EditHypothesesDlg::InitGeom()
|
||||
//=================================================================================
|
||||
void SMESHGUI_EditHypothesesDlg::UpdateControlState()
|
||||
{
|
||||
bool isEnabled = (!myMesh->_is_nil() && !myGeomShape->_is_nil() &&
|
||||
ListHypAssignation->count() && ListAlgoAssignation->count())
|
||||
// asl the check of "count" is commented because of PAL9787
|
||||
bool isEnabled = (!myMesh->_is_nil() && !myGeomShape->_is_nil() /*&&
|
||||
ListHypAssignation->count() && ListAlgoAssignation->count()*/ )
|
||||
||
|
||||
(!mySubMesh->_is_nil() && !myGeomShape->_is_nil() &&
|
||||
(ListHypAssignation->count() || ListAlgoAssignation->count()));
|
||||
(!mySubMesh->_is_nil() && !myGeomShape->_is_nil() /*&&
|
||||
(ListHypAssignation->count() || ListAlgoAssignation->count())*/);
|
||||
|
||||
buttonOk ->setEnabled(myNbModification && isEnabled && !myImportedMesh);
|
||||
buttonApply->setEnabled(myNbModification && isEnabled && !myImportedMesh);
|
||||
|
Loading…
Reference in New Issue
Block a user