From: André Ribes <> Date: Wed, 23 Feb 2011 14:41:33 +0000 (+0000) Subject: Ajout du retour pour SaveAs X-Git-Tag: LOGILAB~334 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=47f9452149c1fcfc6b8ff3c2bc1c57af18bd612a;p=tools%2Feficas.git Ajout du retour pour SaveAs --- diff --git a/InterfaceQT4/qtEficas.py b/InterfaceQT4/qtEficas.py index 9a7d203c..125e8ed0 100644 --- a/InterfaceQT4/qtEficas.py +++ b/InterfaceQT4/qtEficas.py @@ -343,7 +343,7 @@ class Appli(Ui_Eficas,QMainWindow): return self.viewmanager.saveCurrentEditor() def fileSaveAs(self): - self.viewmanager.saveAsCurrentEditor() + return self.viewmanager.saveAsCurrentEditor() def fileClose(self): self.viewmanager.handleClose(texte='&Fermer') diff --git a/InterfaceQT4/viewManager.py b/InterfaceQT4/viewManager.py index f98bbaff..8ac1d02c 100644 --- a/InterfaceQT4/viewManager.py +++ b/InterfaceQT4/viewManager.py @@ -178,7 +178,7 @@ class MyTabview: if editor in self.doubles.keys(): if oldName != newName : del self.doubles[editor] - + return ok def displayJDC(self,jdc,fn=None): """