Changeset 91f4884 in sasview for src/sas


Ignore:
Timestamp:
Sep 24, 2018 3:27:35 PM (6 years ago)
Author:
piotr
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
9d130f3
Parents:
65759c7
Message:

Copy/paste gone wrong. SASVIEW-1128

File:
1 edited

Legend:

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

    r2dce1d8 r91f4884  
    24142414                model.setParam(key, value) 
    24152415        # add magnetic params if asked 
    2416         if self.chkMagnetism.isChecked(): 
    2417             for key, value in self.magnet_params.items() and self._magnet_model.rowCount() > 0: 
     2416        if self.chkMagnetism.isChecked() and self._magnet_model.rowCount() > 0: 
     2417            for key, value in self.magnet_params.items(): 
    24182418                model.setParam(key, value) 
    24192419 
Note: See TracChangeset for help on using the changeset viewer.