From: Pascale Noyret Date: Mon, 29 Nov 2010 14:27:30 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V2_1~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fa5deeef86d62233cf765289b03c596b6bf7c5c9;p=modules%2Feficas.git *** empty log message *** --- diff --git a/InterfaceQT4/editor.py b/InterfaceQT4/editor.py index 4279d400..1ab95d8e 100644 --- a/InterfaceQT4/editor.py +++ b/InterfaceQT4/editor.py @@ -533,6 +533,12 @@ 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]()