Commit 0d258518 authored by Yori Fournier's avatar Yori Fournier
Browse files

Merge branch '33-MODIF-change-button-name' into 'master'

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

Closes #33

See merge request !16
parents 36a5339a 1c9b89b5
......@@ -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