From: pascale.noyret Date: Wed, 30 Oct 2019 15:36:29 +0000 (+0100) Subject: bug sur le numero de version X-Git-Tag: V9_4_0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c7aeaea51780cd66e84f8356bacc96ab23ac665c;p=tools%2Feficas.git bug sur le numero de version --- 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()