From: André Ribes <> Date: Tue, 22 Feb 2011 15:57:24 +0000 (+0000) Subject: On fait remonter le retour de la fonction save X-Git-Tag: LOGILAB~335 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f0ea9ad8a9272d73ea2f84204563698019a6cc71;p=tools%2Feficas.git On fait remonter le retour de la fonction save --- diff --git a/InterfaceQT4/qtEficas.py b/InterfaceQT4/qtEficas.py index 11402174..9a7d203c 100644 --- a/InterfaceQT4/qtEficas.py +++ b/InterfaceQT4/qtEficas.py @@ -340,7 +340,7 @@ class Appli(Ui_Eficas,QMainWindow): self.viewmanager.handleOpen() def fileSave(self): - self.viewmanager.saveCurrentEditor() + return self.viewmanager.saveCurrentEditor() def fileSaveAs(self): self.viewmanager.saveAsCurrentEditor() diff --git a/InterfaceQT4/viewManager.py b/InterfaceQT4/viewManager.py index b12bd9c1..f98bbaff 100644 --- a/InterfaceQT4/viewManager.py +++ b/InterfaceQT4/viewManager.py @@ -165,6 +165,7 @@ class MyTabview: if ok : fileName=os.path.basename(unicode(newName)) self.myQtab.setTabText(index,fileName) + return ok def saveAsCurrentEditor(self): index=self.myQtab.currentIndex()