Ignore:
Timestamp:
Sep 4, 2018 2:36:10 AM (6 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
cb90b65
Parents:
c0a3b22e
git-author:
Piotr Rozyczko <rozyczko@…> (09/04/18 02:35:11)
git-committer:
Piotr Rozyczko <rozyczko@…> (09/04/18 02:36:10)
Message:

Don't use 'directory' specifier for file save in order that the previous choice is remembered. SASVIEW-1007

File:
1 edited

Legend:

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

    rce30949 r1f646618  
    7373        # Use a sensible filename default 
    7474        default_name = os.path.join(location, 'fit_report.pdf') 
     75 
    7576        kwargs = { 
    7677            'parent'   : self, 
    7778            'caption'  : 'Save Report', 
    78             'directory': default_name, 
     79            # don't use 'directory' in order to remember the previous user choice 
     80            #'directory': default_name, 
    7981            'filter'   : 'PDF file (*.pdf);;HTML file (*.html);;Text file (*.txt)', 
    8082            'options'  : QtWidgets.QFileDialog.DontUseNativeDialog} 
Note: See TracChangeset for help on using the changeset viewer.