]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
On fait remonter le retour de la fonction save
authorAndré Ribes <>
Tue, 22 Feb 2011 15:57:24 +0000 (15:57 +0000)
committerAndré Ribes <>
Tue, 22 Feb 2011 15:57:24 +0000 (15:57 +0000)
InterfaceQT4/qtEficas.py
InterfaceQT4/viewManager.py

index 1140217476a31a0624b300af5885e3e30992111e..9a7d203c9af3d183e2f65fbe906549fa9b5e598d 100644 (file)
@@ -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()
index b12bd9c11a4cc2593d83e5278d4bc2bedd6436da..f98bbaffb5c255129e5e60721e9f158be7ed4c9b 100644 (file)
@@ -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()