Commit 1c9b89b5 authored by Yori 'AGy' Fournier's avatar Yori 'AGy' Fournier
Browse files

Change the Open button to Save button in the QFileDialogof saving pictures

Add QFileDialog.AcceptSave as setting for the QFileDialog in qMyDesignGui
for saving pictures.
parent 36a5339a
......@@ -32,6 +32,7 @@ class QMyDesignGui(QMainWindow):
self.openFilePopup.triggered.connect(self.executeFunct)
self.fileSelector = QFileDialog()
self.fileSelector.setAcceptMode(QFileDialog.AcceptSave)
self.fileSelector.fileSelected.connect(self.saveFigure)
self.setCentralWidget(QMyDesignWidget(self))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment