Commit eb0096fb authored by Damien Naudet's avatar Damien Naudet

More Qt5 support.

parent 9c03c440
......@@ -192,6 +192,7 @@ class FitButton(EditorMixin, Qt.QWidget):
itemBasename += '.txt'
dialog = Qt.QFileDialog(self, 'Export fit results.')
dialog.selectFile(os.path.join(workdir, itemBasename))
if dialog.exec_():
csvPath = dialog.selectedFiles()[0]
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