Changes in src/sas/qtgui/Utilities/ReportDialog.py [ce30949:cb90b65] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Utilities/ReportDialog.py
rce30949 rcb90b65 73 73 # Use a sensible filename default 74 74 default_name = os.path.join(location, 'fit_report.pdf') 75 75 76 kwargs = { 76 77 'parent' : self, 77 78 'caption' : 'Save Report', 78 'directory': default_name, 79 # don't use 'directory' in order to remember the previous user choice 80 #'directory': default_name, 79 81 'filter' : 'PDF file (*.pdf);;HTML file (*.html);;Text file (*.txt)', 80 82 'options' : QtWidgets.QFileDialog.DontUseNativeDialog} … … 99 101 100 102 # Create files with charts 101 pictures = self.getPictures(basename) 103 pictures = [] 104 if self.data_images is not None: 105 pictures = self.getPictures(basename) 102 106 103 107 # self.data_html contains all images at the end of the report, in base64 form;
Note: See TracChangeset
for help on using the changeset viewer.