From 0de331f1155c8b494f41eb1609b8d73af5a4e2cd Mon Sep 17 00:00:00 2001 From: "pascale.noyret" Date: Wed, 30 Oct 2019 16:36:29 +0100 Subject: [PATCH] bug sur le numero de version --- Extensions/parametre.py | 1 + InterfaceQT4/getVersion.py | 2 +- InterfaceQT4/qtEficas.py | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Extensions/parametre.py b/Extensions/parametre.py index f99b8bdc..5ab01bab 100644 --- a/Extensions/parametre.py +++ b/Extensions/parametre.py @@ -74,6 +74,7 @@ class PARAMETRE(N_OBJECT.OBJECT,I_OBJECT.OBJECT,Formula) : #self.val=valeur self.valeur = valeur self.val=repr(valeur) + self.fenetreIhm=None def interpreteValeur(self,val): """ diff --git a/InterfaceQT4/getVersion.py b/InterfaceQT4/getVersion.py index 9044feb1..30a2c655 100644 --- a/InterfaceQT4/getVersion.py +++ b/InterfaceQT4/getVersion.py @@ -22,7 +22,7 @@ __version = { 'major': 9, - 'minor': 3 + 'minor': 4 } def getEficasVersion(): diff --git a/InterfaceQT4/qtEficas.py b/InterfaceQT4/qtEficas.py index f00e8b1c..f8f580ce 100755 --- a/InterfaceQT4/qtEficas.py +++ b/InterfaceQT4/qtEficas.py @@ -751,7 +751,8 @@ class Appli(AppliSsIhm,Ui_Eficas,QMainWindow): titre = tr("version ") monVisuDialg=DVisu(parent=self,fl=0) monVisuDialg.setWindowTitle(titre) - monVisuDialg.TB.setText(self.VERSION_EFICAS +tr(" pour ") + self.code) + if self.code != None : monVisuDialg.TB.setText(self.VERSION_EFICAS +tr(" pour ") + self.code) + else : monVisuDialg.TB.setText(self.VERSION_EFICAS ) monVisuDialg.adjustSize() monVisuDialg.show() -- 2.39.2