Salome HOME
bug sur le numero de version
[tools/eficas.git] / InterfaceQT4 / qtEficas.py
index f00e8b1c2affabf9fb6d9e6a627e26bc56bf79ea..f8f580ce1e96f6f804100087f4b242e65c06bbe3 100755 (executable)
@@ -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()