]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
[CurvePlot] Bug fix: save dialog box instead of open!
authorabn <adrien.bruneton@cea.fr>
Fri, 25 Nov 2016 08:26:15 +0000 (09:26 +0100)
committerabn <adrien.bruneton@cea.fr>
Fri, 25 Nov 2016 08:26:15 +0000 (09:26 +0100)
tools/CurvePlot/src/python/test/SalomePyQt_MockUp.py.in

index 70f4f1b22dc0f4a093619e860dc55d84e54135b0..ad5d2d6f8b44063d1e368707fe2dc37e374f4d64 100644 (file)
@@ -55,7 +55,7 @@ class SalomePyQt(QObject):
   
   def getFileName(self, parent_widget, initial, filters, caption, do_open):
     fil = ";;".join([str(f) for f in filters])
-    return QFileDialog.getOpenFileName(parent=parent_widget,
+    return QFileDialog.getSaveFileName(parent=parent_widget,
                                        caption=caption, directory=initial, filter=fil);
   
   @Slot(int)