Salome HOME
avoid window popup on pytel new or edit
[modules/hydrosolver.git] / src / salome_hydro / pytel / eficas / appli.py
index 0e0458aed48a43c8721eef2818ebf3d9015822bb..f1eb3ec31fe9dd530658e2c91b4bb498bdba3f8b 100755 (executable)
@@ -53,11 +53,10 @@ class EficasForPytelAppli(eficasSalome.MyEficas):
         gridLayout = QGridLayout(area)
         gridLayout.addWidget(self)
         area.setWidgetResizable(1)
+        sgPyQt.createView("Eficas Pytel", self)
         if fichier == None : self.fileNew()
         else : self.addJdcInSalome(fichier)
 
-        sgPyQt.createView("Eficas Pytel", self)
-
     def addJdcInSalome(self, jdcPath):
         """
         Add the newly created file in Salome study