]> SALOME platform Git repositories - modules/eficas.git/commitdiff
Salome HOME
pour aster V2-1
authorPascale Noyret <pascale.noyret@edf.fr>
Mon, 29 Nov 2010 16:00:13 +0000 (16:00 +0000)
committerPascale Noyret <pascale.noyret@edf.fr>
Mon, 29 Nov 2010 16:00:13 +0000 (16:00 +0000)
Accas/A_MCSIMP.py
InterfaceQT4/editor.py

index 5588614b8096c13234338a9ccd357cf0712d0ed7..68943b9805c68c578bece588c0a6644dc3de43b6 100644 (file)
@@ -26,4 +26,3 @@ class MCSIMP(I_MCSIMP.MCSIMP,N_MCSIMP.MCSIMP,V_MCSIMP.MCSIMP):
    def __init__(self,val,definition,nom,parent):
       N_MCSIMP.MCSIMP.__init__(self,val,definition,nom,parent)
       V_MCSIMP.MCSIMP.__init__(self)
-      I_MCSIMP.MCSIMP.__init__(self)
index 1ab95d8eb13c87fdc9490aededc21cb50b2a7356..4605279b085df651d801885cbdbdb7d9c763bd5d 100644 (file)
@@ -285,7 +285,7 @@ class JDCEditor(QSplitter):
     #----------------------------------------------#
     def _viewText(self, txt, caption = "FILE_VIEWER"):    
     #----------------------------------------------#
-        w = qtCommun.ViewText( self.QWParent, editor=self )
+        w = qtCommun.ViewText( self.QWParent )
         w.setWindowTitle( caption )
         w.setText(txt)
         w.show()
@@ -533,12 +533,6 @@ class JDCEditor(QSplitter):
     def runYACS(self,execution="oui",nomFichier=None):
     #------------------------------------------------#
       format=self.appliEficas.format_fichier
-      if (not self.jdc.isvalid()) :
-         QMessageBox.warning(self,
-             self.trUtf8("Sauvegarde YACS impossible"),
-             self.trUtf8("Le Schema n est pas encore valide."),
-                       self.trUtf8("&OK"),)
-         return
       if generator.plugins.has_key(format):
          # Le generateur existe on l'utilise
          self.generator=generator.plugins[format]()