Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e84f664
)
PAL9787
author
asl
<asl@opencascade.com>
Fri, 19 Aug 2005 04:44:59 +0000
(
04:44
+0000)
committer
asl
<asl@opencascade.com>
Fri, 19 Aug 2005 04:44:59 +0000
(
04:44
+0000)
src/SMESHGUI/SMESHGUI_EditHypothesesDlg.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_EditHypothesesDlg.cxx
b/src/SMESHGUI/SMESHGUI_EditHypothesesDlg.cxx
index b03e461acfa5b09f9cf2e31b22f9c6835515eccf..c2d0185b6aaa9579d13034ca1d7510d5f3ccecaa 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_EditHypothesesDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_EditHypothesesDlg.cxx
@@
-770,11
+770,12
@@
void SMESHGUI_EditHypothesesDlg::InitGeom()
//=================================================================================
void SMESHGUI_EditHypothesesDlg::UpdateControlState()
{
//=================================================================================
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);
buttonOk ->setEnabled(myNbModification && isEnabled && !myImportedMesh);
buttonApply->setEnabled(myNbModification && isEnabled && !myImportedMesh);