From c81c70d19c59215cabb9a99523fe479f54121afa Mon Sep 17 00:00:00 2001 From: nicolas Date: Wed, 23 Oct 2013 06:32:37 +0000 Subject: [PATCH] Correction de l'affichage du cas en mode non conforme --- src/HOMARDGUI/MonEditCase.cxx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/HOMARDGUI/MonEditCase.cxx b/src/HOMARDGUI/MonEditCase.cxx index 46de00a9..1c1af9ae 100644 --- a/src/HOMARDGUI/MonEditCase.cxx +++ b/src/HOMARDGUI/MonEditCase.cxx @@ -71,24 +71,23 @@ void MonEditCase::InitValEdit() int ConfType=aCase->GetConfType(); if(ConfType==1) { - GBTypeNoConf->setVisible(0); - RBConforme->setChecked(true); + RBConforme->setChecked(true); + GBTypeNoConf->setVisible(0); } else { RBNonConforme->setChecked(true); GBTypeNoConf->setVisible(1); + if (ConfType==2) { RB1NpM->setChecked(true);}; + if (ConfType==3) { RB1NpA->setChecked(true);}; + if (ConfType==4) { RBQuelconque->setChecked(true);}; RB1NpM->setEnabled(false); RB1NpA->setEnabled(false); RBQuelconque->setEnabled(false); }; - if (_ConfType==2) { RB1NpM->setChecked(true);}; - if (_ConfType==3) { RB1NpA->setChecked(true);}; - if (_ConfType==4) { RBQuelconque->setChecked(true);}; - - RBNonConforme->setEnabled(false); RBConforme->setEnabled(false); + RBNonConforme->setEnabled(false); // Non affichage du mode de suivi de frontiere CBBoundaryA->setVisible(0); -- 2.39.2