From cec86fe8426a7fba3771d7ff39e939223840b5ce Mon Sep 17 00:00:00 2001 From: abn Date: Fri, 25 Nov 2016 09:26:15 +0100 Subject: [PATCH] [CurvePlot] Bug fix: save dialog box instead of open! --- tools/CurvePlot/src/python/test/SalomePyQt_MockUp.py.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2