Changeset f3cc979 in sasview for src/sas/qtgui/Perspectives/Fitting


Ignore:
Timestamp:
Sep 10, 2018 10:51:17 AM (6 years ago)
Author:
piotr
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:
343d7fd
Parents:
13dd7d2
Message:

Add orientation_parameters to the update list for polydisp. display in main table. SASVIEW-1013

Location:
src/sas/qtgui/Perspectives/Fitting
Files:
2 edited

Legend:

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

    r01b4877 rf3cc979  
    128128 
    129129            # Find param in volume_params 
    130             for p in parameters.form_volume_parameters: 
     130            poly_pars = parameters.form_volume_parameters 
     131            if is2D: 
     132                poly_pars += parameters.orientation_parameters 
     133            for p in poly_pars: 
    131134                if p.name != param.name: 
    132135                    continue 
  • src/sas/qtgui/Perspectives/Fitting/FittingWidget.py

    r13dd7d2 rf3cc979  
    12191219        if model_column in [delegate.poly_pd, delegate.poly_error, delegate.poly_min, delegate.poly_max]: 
    12201220            row = self.getRowFromName(parameter_name) 
    1221             param_item = self._model_model.item(row) 
     1221            param_item = self._model_model.item(row).child(0).child(0, model_column) 
     1222            if param_item is None: 
     1223                return 
    12221224            self._model_model.blockSignals(True) 
    1223             param_item.child(0).child(0, model_column).setText(item.text()) 
     1225            param_item.setText(item.text()) 
    12241226            self._model_model.blockSignals(False) 
    12251227 
Note: See TracChangeset for help on using the changeset viewer.