From: Pascale Noyret Date: Mon, 29 Nov 2010 16:00:13 +0000 (+0000) Subject: pour aster V2-1 X-Git-Tag: LOGILAB~368 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d80e78a28eb88d5ca84ff2c6a3981049d2df89fd;p=tools%2Feficas.git pour aster V2-1 --- diff --git a/Accas/A_MCSIMP.py b/Accas/A_MCSIMP.py index 5588614b..68943b98 100644 --- a/Accas/A_MCSIMP.py +++ b/Accas/A_MCSIMP.py @@ -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) diff --git a/InterfaceQT4/editor.py b/InterfaceQT4/editor.py index 1ab95d8e..4605279b 100644 --- a/InterfaceQT4/editor.py +++ b/InterfaceQT4/editor.py @@ -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]()