Salome HOME
Update documentation, add more tests
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_HomardAdaptDlg.cxx
index fb74f255383ff2f89fd4168ed777d12c4bb73417..c215ac0c895fea5b6ee91106faf22f11bc9c17ce 100644 (file)
@@ -636,9 +636,11 @@ void SMESHGUI_HomardAdaptDlg::SetBoundaryNo()
 // ------------------------------------------------------------------------
 void SMESHGUI_HomardAdaptDlg::SetBoundaryCAO()
 {
-  myArgs->GBBoundaryC->setVisible(1);
-  myArgs->GBBoundaryN->setVisible(0);
-  adjustSize();
+  if (CheckCase(true)) {
+    myArgs->GBBoundaryC->setVisible(1);
+    myArgs->GBBoundaryN->setVisible(0);
+    adjustSize();
+  }
 }
 // ------------------------------------------------------------------------
 void SMESHGUI_HomardAdaptDlg::SetBoundaryNonCAO()