Ignore:
Timestamp:
Jun 16, 2017 4:22:23 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
85487ebd
Parents:
b0c5e8c
Message:

Code review changes SASVIEW-597

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/FittingWidget.py

    rb0c5e8c r72f4834  
    13631363        """ 
    13641364        datafile = QtGui.QFileDialog.getOpenFileName( 
    1365             self, "Choose a weight file", "", "All files (*.*)") 
    1366         if not datafile: 
     1365            self, "Choose a weight file", "", "All files (*.*)", 
     1366            None, QtGui.QFileDialog.DontUseNativeDialog) 
     1367 
     1368        if datafile is None: 
    13671369            logging.info("No weight data chosen.") 
    13681370            raise IOError 
     1371 
    13691372        values = [] 
    13701373        weights = [] 
Note: See TracChangeset for help on using the changeset viewer.