From: abn Date: Fri, 25 Nov 2016 08:26:15 +0000 (+0100) Subject: [CurvePlot] Bug fix: save dialog box instead of open! X-Git-Tag: V8_2_0rc1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cec86fe8426a7fba3771d7ff39e939223840b5ce;p=modules%2Fgui.git [CurvePlot] Bug fix: save dialog box instead of open! --- diff --git a/tools/CurvePlot/src/python/test/SalomePyQt_MockUp.py.in b/tools/CurvePlot/src/python/test/SalomePyQt_MockUp.py.in index 70f4f1b22..ad5d2d6f8 100644 --- a/tools/CurvePlot/src/python/test/SalomePyQt_MockUp.py.in +++ b/tools/CurvePlot/src/python/test/SalomePyQt_MockUp.py.in @@ -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)