Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Utilities/ReportDialog.py

    rcb90b65 rce30949  
    7373        # Use a sensible filename default 
    7474        default_name = os.path.join(location, 'fit_report.pdf') 
    75  
    7675        kwargs = { 
    7776            'parent'   : self, 
    7877            'caption'  : 'Save Report', 
    79             # don't use 'directory' in order to remember the previous user choice 
    80             #'directory': default_name, 
     78            'directory': default_name, 
    8179            'filter'   : 'PDF file (*.pdf);;HTML file (*.html);;Text file (*.txt)', 
    8280            'options'  : QtWidgets.QFileDialog.DontUseNativeDialog} 
     
    10199 
    102100        # Create files with charts 
    103         pictures = [] 
    104         if self.data_images is not None: 
    105             pictures = self.getPictures(basename) 
     101        pictures = self.getPictures(basename) 
    106102 
    107103        # 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.