From 3c5482bab207d94d5535e81d3980a16ef019a1aa Mon Sep 17 00:00:00 2001 From: PASCALE NOYRET Date: Wed, 30 Mar 2022 12:05:44 +0200 Subject: [PATCH] chgt d affichage du bouton de choix de code --- InterfaceQT4/monChoixCode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InterfaceQT4/monChoixCode.py b/InterfaceQT4/monChoixCode.py index bae07cf3..80fdb0eb 100644 --- a/InterfaceQT4/monChoixCode.py +++ b/InterfaceQT4/monChoixCode.py @@ -58,7 +58,7 @@ class MonChoixCode(Ui_ChoixCode,QDialog): def verifieInstall(self): self.groupCodes=QButtonGroup(self.groupBox) vars=list(os.environ.items()) - listeCode=('Adao','Carmel3D','CarmelCND','CF','MAP','MT','PSEN','PSEN_N1','Telemac','ZCracks',) + listeCode=('Telemac','ReacteurNumerique','Adao') for code in listeCode: dirCode=os.path.abspath(os.path.join(os.path.abspath(__file__),'../..',code)) try : @@ -66,7 +66,7 @@ class MonChoixCode(Ui_ChoixCode,QDialog): bouton=QRadioButton(self.groupBox) bouton.setText(code) self.groupCodes.addButton(bouton) - self.vlBouton.addWidget(bouton) + self.vlBouton.insertWidget(0,bouton) except : clef="PREFS_CATA_"+code try : -- 2.39.2