From fa5deeef86d62233cf765289b03c596b6bf7c5c9 Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Mon, 29 Nov 2010 14:27:30 +0000 Subject: [PATCH] *** empty log message *** --- InterfaceQT4/editor.py | 6 ++++++ 1 file changed, 6 insertions(+) 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]() -- 2.39.2