From 835df867fd97ab2008b97dafaa34ba377a349cb4 Mon Sep 17 00:00:00 2001 From: "pascale.noyret" Date: Thu, 19 Apr 2018 15:40:28 +0200 Subject: [PATCH] souci module eficas sans ihm et multi --- InterfaceQT4/qtEficas.py | 6 +++--- InterfaceQT4/qtEficasSsIhm.py | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/InterfaceQT4/qtEficas.py b/InterfaceQT4/qtEficas.py index d76a51b6..acedbc30 100755 --- a/InterfaceQT4/qtEficas.py +++ b/InterfaceQT4/qtEficas.py @@ -164,10 +164,10 @@ class Appli(AppliSsIhm,Ui_Eficas,QMainWindow): self.cleanPath() from InterfaceQT4.monChoixCode import MonChoixCode widgetChoix = MonChoixCode(self) - #ret=widgetChoix.exec_() - widgetChoix.show() + ret=widgetChoix.exec_() + #widgetChoix.show() if self.code == None:return # pour le cancel de la fenetre choix code - AppliSsIhm.definitCode(self,code,ssCode) + AppliSsIhm.definitCode(self,self.code,ssCode) #PN --> pb d exception qui font planter salome # plus supporte en python 3 diff --git a/InterfaceQT4/qtEficasSsIhm.py b/InterfaceQT4/qtEficasSsIhm.py index d068b5f8..59f39bf8 100755 --- a/InterfaceQT4/qtEficasSsIhm.py +++ b/InterfaceQT4/qtEficasSsIhm.py @@ -74,7 +74,6 @@ class AppliSsIhm: self.multi=multi if self.multi : print ('pas de multi sans ihm') - exit() if langue=='fr': self.langue=langue -- 2.39.2